| Summary Item | Total | Failed |
|---|---|---|
| Requests | 116 | 0 |
| Prerequest Scripts | 8 | 0 |
| Test Scripts | 116 | 0 |
| Assertions | 756 | 0 |
| Skipped Tests | 0 | - |
# Login-Valid Credentials
# Overview
This endpoint authenticates a user and returns access and refresh tokens for subsequent API requests.
# Purpose
To authenticate users with valid credentials and obtain JWT tokens (access token and refresh token) required for accessing protected endpoints in the DummyJSON API.
# Expected Behavior
- Accepts user credentials (username and password)
- Validates the credentials against the authentication system
- Returns authentication tokens and user information upon successful login
- Stores tokens in environment variables for use in subsequent requests
# Request Details
- **Method**: POST
- **Endpoint**: `https://dummyjson.com/auth/login`
- **Content-Type**: application/json
- **Body**:
``` json
{
"username": "emilys",
"password": "emilyspass"
}
```
# Variables Used
- **baseUrl**: The base URL for the API endpoint
- **logged_in_username**: Set in pre-request script from the request body username field
# Response Details
The successful response returns a JSON object containing:
- **accessToken**: JWT token for authenticating API requests
- **refreshToken**: Token used to refresh the access token when it expires
- **id**: Unique identifier for the authenticated user
- **username**: Username of the authenticated user
- Additional user profile information
# Test Validations
The post-response script performs the following validations:
- Status code is 200
- Response time is less than 2000ms
- Content-Type header is application/json
- Response body is a valid JSON object
- Response contains `accessToken` and `refreshToken` properties
- Both tokens are not empty
- Response contains user `id` property
- User ID is a number
- Returned username matches the logged-in username
**Environment Variables Set**:
- `access_token`: Stored for authorization in subsequent requests
- `refresh_token`: Stored for token refresh operations
- `logged_in_username`: Stored for validation purposes
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8405a5c1-d1e8-404d-9550-75009e07366a |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 61 |
{
"username": "emilys",
"password": "emilyspass"
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:45 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 99 |
| x-ratelimit-reset | 1769721587 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| Set-Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1ODUsImV4cCI6MTc2OTcyNTE4NX0.7EyL-IfVvRYnnVdTPGP4DtBrMCBm4A8zEHUSl6qsSXI; Max-Age=3600; Path=/; Expires=Thu, 29 Jan 2026 22:19:45 GMT; HttpOnly; Secure |
| Set-Cookie | refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1ODUsImV4cCI6MTc3MjMxMzU4NX0._mrp_JgVQMCvLpueokDK6YmU37AsxDMaDf1KrHa6hsc; Max-Age=3600; Path=/; Expires=Thu, 29 Jan 2026 22:19:45 GMT; HttpOnly; Secure |
| etag | W/"3a2-h9Ec1mgywxfafVHoxz1SFcL/GTY" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=Y7LTGZAfLOTdeHdwyQqi4pnSSW59ODZ7mFoBRomDno5F8PzApd4dkP%2BrhoIwQaB4nj6KNMeEzMYyxdCphK7ygCTcYInYPobDaLExSzJ7JI7Hp8VZrDqR8J8%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc5035b870c5b-AMM |
{"accessToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1ODUsImV4cCI6MTc2OTcyNTE4NX0.7EyL-IfVvRYnnVdTPGP4DtBrMCBm4A8zEHUSl6qsSXI","refreshToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1ODUsImV4cCI6MTc3MjMxMzU4NX0._mrp_JgVQMCvLpueokDK6YmU37AsxDMaDf1KrHa6hsc","id":1,"username":"emilys","email":"emily.johnson@x.dummyjson.com","firstName":"Emily","lastName":"Johnson","gender":"female","image":"https://dummyjson.com/icon/emilys/128"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000 ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| Response body is json object | 1 | 0 | 0 |
| Response body contains access token | 1 | 0 | 0 |
| Response body contains refresh token | 1 | 0 | 0 |
| access token is not empty | 1 | 0 | 0 |
| refresh token is not empty | 1 | 0 | 0 |
| response body contains user id | 1 | 0 | 0 |
| user id is a number | 1 | 0 | 0 |
| returned user matches logged in user | 1 | 0 | 0 |
| Total | 11 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Current User
## Overview
This endpoint retrieves information about the currently authenticated user.
## Purpose
To fetch the profile details of the logged-in user, including their unique identifier, username, and email address.
## Expected Behavior
When called with valid authentication, this endpoint returns the current user's profile data in JSON format with a 200 status code.
## Request Details
- **Method**: GET
- **Endpoint**: `https://dummyjson.com/auth/me`
- **Authentication**: Required (uses `access_token`)
- **Request Body**: None
## Variables Used
- `baseUrl` - The base URL for the API
- `access_token` - Authentication token for the current user
- `logged_in_username` - Used in test validation to verify the returned user
## Response Details
The response returns a JSON object containing:
- `id` (number) - Unique identifier for the user
- `username` (string) - Username of the authenticated user
- `email` (string) - Email address in valid format
## Test Validations
The following automated tests are executed on the response:
- Status code is 200
- Response time is less than 2000ms
- Content-Type header is application/json
- Response body is a valid JSON object
- Response contains required fields: id, username, and email
- User id is a number and username is a string
- Email follows valid email format (pattern: `^\S+@\S+\.\S+$`)
- Returned username matches the logged-in user's username
| Header Name | Header Value |
|---|---|
| Authorization | Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1ODUsImV4cCI6MTc2OTcyNTE4NX0.7EyL-IfVvRYnnVdTPGP4DtBrMCBm4A8zEHUSl6qsSXI |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c9e8a108-fdfd-4a2d-a770-d9cdb683b79f |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1ODUsImV4cCI6MTc2OTcyNTE4NX0.7EyL-IfVvRYnnVdTPGP4DtBrMCBm4A8zEHUSl6qsSXI; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1ODUsImV4cCI6MTc3MjMxMzU4NX0._mrp_JgVQMCvLpueokDK6YmU37AsxDMaDf1KrHa6hsc |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:45 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 99 |
| x-ratelimit-reset | 1769721591 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"58f-CoL/KoXlW3x1PtqQr3wqPsXj6DE" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=%2BLQNxuOQmoDkOTgQhaZfoGNRbxz%2FNi0dISl7fsMDsmnWPFrlBG0Xhji1Hn5G8H4m1c6AItfL%2B1RhEhvraZWnIO4pjRaQZjpdiTzoGNoWRIyBOREyAatDCs4%3D"}]} |
| CF-RAY | 9c5bc506bcbf0c5b-AMM |
{"id":1,"firstName":"Emily","lastName":"Johnson","maidenName":"Smith","age":29,"gender":"female","email":"emily.johnson@x.dummyjson.com","phone":"+81 965-431-3024","username":"emilys","password":"emilyspass","birthDate":"1996-5-30","image":"https://dummyjson.com/icon/emilys/128","bloodGroup":"O-","height":193.24,"weight":63.16,"eyeColor":"Green","hair":{"color":"Brown","type":"Curly"},"ip":"42.48.100.32","address":{"address":"626 Main Street","city":"Phoenix","state":"Mississippi","stateCode":"MS","postalCode":"29112","coordinates":{"lat":-77.16213,"lng":-92.084824},"country":"United States"},"macAddress":"47:fa:41:18:ec:eb","university":"University of Wisconsin--Madison","bank":{"cardExpire":"05/28","cardNumber":"3693233511855044","cardType":"Diners Club International","currency":"GBP","iban":"GB74MH2UZLR9TRPHYNU8F8"},"company":{"department":"Engineering","name":"Dooley, Kozey and Cronin","title":"Sales Manager","address":{"address":"263 Tenth Street","city":"San Francisco","state":"Wisconsin","stateCode":"WI","postalCode":"37657","coordinates":{"lat":71.814525,"lng":-161.150263},"country":"United States"}},"ein":"977-175","ssn":"900-590-289","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body contains user id, username and user email | 1 | 0 | 0 |
| user id is a number and username is a string | 1 | 0 | 0 |
| user email is a valid email | 1 | 0 | 0 |
| returned user matches logged in user | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Refresh Authentication Token
### Overview
This endpoint refreshes the authentication tokens by validating the provided refresh token and issuing new access and refresh tokens.
### Purpose
To obtain new authentication tokens when the current access token expires, ensuring continuous authenticated access to the API without requiring the user to log in again.
### Expected Behavior
The endpoint validates the refresh token and returns a new pair of tokens (access token and refresh token) that can be used for subsequent authenticated requests.
### Request Details
- **Method:** POST
- **Endpoint:** `https://dummyjson.com/auth/refresh`
- **Body Type:** JSON (raw)
- **Request Body:**
``` json
{
"refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1ODUsImV4cCI6MTc3MjMxMzU4NX0._mrp_JgVQMCvLpueokDK6YmU37AsxDMaDf1KrHa6hsc"
}
```
### Variables Used
- `baseUrl` - The base URL for the API
- `refresh_token` - The current refresh token stored in the environment
### Response Details
The successful response returns a JSON object containing:
- `accessToken` - A new access token for authenticating API requests
- `refreshToken` - A new refresh token for future token refresh operations
**Example Response:**
``` json
{
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
```
### Test Validations
The post-response script validates the following:
- ✓ Status code is 200
- ✓ Response time is less than 2000ms
- ✓ Content-Type header is application/json
- ✓ Response body is a valid JSON object
- ✓ Response contains `accessToken` property
- ✓ Response contains `refreshToken` property
- ✓ Access token is not empty
- ✓ Refresh token is not empty
- ✓ New tokens are automatically saved to environment variables (`access_token` and `refresh_token`)
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8b8a5896-35a4-43e9-b282-3023a9871d81 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 388 |
| Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1ODUsImV4cCI6MTc2OTcyNTE4NX0.7EyL-IfVvRYnnVdTPGP4DtBrMCBm4A8zEHUSl6qsSXI; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1ODUsImV4cCI6MTc3MjMxMzU4NX0._mrp_JgVQMCvLpueokDK6YmU37AsxDMaDf1KrHa6hsc |
{
"refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1ODUsImV4cCI6MTc3MjMxMzU4NX0._mrp_JgVQMCvLpueokDK6YmU37AsxDMaDf1KrHa6hsc"
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:46 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 99 |
| x-ratelimit-reset | 1769721587 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| Set-Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1ODYsImV4cCI6MTc2OTcyNTE4Nn0.5kSISX9OIPl05zn0_dHd0stdnLxD5vH9HmsX76LnfrQ; Max-Age=3600; Path=/; Expires=Thu, 29 Jan 2026 22:19:46 GMT; HttpOnly; Secure |
| Set-Cookie | refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1ODYsImV4cCI6MTc3MjMxMzU4Nn0.H2debfLMQupMNluQ-A6gbyqgCARaGSS7cFF0ylSbXOA; Max-Age=3600; Path=/; Expires=Thu, 29 Jan 2026 22:19:46 GMT; HttpOnly; Secure |
| etag | W/"2f4-lho2UCCaZRq67NrtYNzHGc5bSc8" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=tF7va535QuH1FIomJarZYsABuRoKkdBNCT%2ByiV8Gll67uLCeQ2BvuI2rWC5q63AwZ7sEGPBtftYJSj5povEvzmxZW1TWTn6hLk0K%2F8rDRlwEsz0miIaAOVM%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc50869c70c5b-AMM |
{"accessToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1ODYsImV4cCI6MTc2OTcyNTE4Nn0.5kSISX9OIPl05zn0_dHd0stdnLxD5vH9HmsX76LnfrQ","refreshToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1ODYsImV4cCI6MTc3MjMxMzU4Nn0.H2debfLMQupMNluQ-A6gbyqgCARaGSS7cFF0ylSbXOA"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body contains access token | 1 | 0 | 0 |
| response body contains refresh token | 1 | 0 | 0 |
| access token is not empty | 1 | 0 | 0 |
| refresh token is not empty | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Current User-After Refresh
## Overview
This endpoint retrieves the currently authenticated user's profile information using a valid access token. It returns comprehensive user details including personal information, contact details, and account metadata.
## Purpose
This endpoint is used to verify the user's authentication status and retrieve their profile data after a token refresh operation. It plays a critical role in the authentication flow by:
- Confirming that the refreshed access token is valid
- Retrieving the authenticated user's complete profile
- Validating that the correct user session is maintained after token refresh
## Expected Behavior
When executed successfully, this request will:
1. Authenticate the user using the Bearer token in the Authorization header
2. Return a 200 OK status code
3. Provide a JSON response containing the authenticated user's complete profile information
4. Complete within 2000ms response time
5. Return user data that matches the logged-in user's credentials
## Request Details
- **HTTP Method**: `GET`
- **Endpoint**: `https://dummyjson.com/auth/me`
- **Authentication**: Bearer Token (uses `access_token` variable)
- **Headers**:
- `Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1ODYsImV4cCI6MTc2OTcyNTE4Nn0.5kSISX9OIPl05zn0_dHd0stdnLxD5vH9HmsX76LnfrQ`
## Variables Used
| Variable | Description |
|----------|-------------|
| `baseUrl` | The base URL for the API endpoint |
| `access_token` | Bearer token for authentication, obtained after login or token refresh |
| `logged_in_username` | Used in test validation to verify the returned user matches the authenticated session |
## Response Details
### Success Response
- **Status Code**: `200 OK`
- **Content-Type**: `application/json`
### Response Body Structure
```json
{
"id": number,
"username": string,
"email": string,
"firstName": string,
"lastName": string,
"maidenName": string,
"age": number,
"gender": string,
"phone": string,
"birthDate": string,
"image": string,
"bloodGroup": string,
"height": number,
"weight": number,
"eyeColor": string,
"hair": {
"color": string,
"type": string
},
"address": object,
"company": object,
"bank": object,
"role": string
}
```
### Key Response Fields
- **id**: Unique user identifier (number)
- **username**: User's login username (string)
- **email**: User's email address (string, validated format)
- **firstName**: User's first name
- **lastName**: User's last name
- **phone**: Contact phone number
- **role**: User's role in the system (e.g., "admin")
## Test Validations
This request includes comprehensive automated test assertions to ensure proper functionality:
1. ✓ **Status code is 200** - Verifies successful authentication and request processing
2. ✓ **Response time is less than 2000ms** - Ensures acceptable API performance
3. ✓ **Content-Type is application/json** - Confirms proper response format
4. ✓ **Response body is a JSON object** - Validates response structure
5. ✓ **Response contains id, username, and email** - Ensures essential user fields are present
6. ✓ **User id is a number and username is a string** - Validates data types for key fields
7. ✓ **Email format validation** - Confirms email follows valid format pattern (regex: `^\S+@\S+\.\S+$`)
8. ✓ **Returned user matches logged-in user** - Verifies the username matches the `logged_in_username` environment variable, ensuring session integrity
| Header Name | Header Value |
|---|---|
| Authorization | Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1ODYsImV4cCI6MTc2OTcyNTE4Nn0.5kSISX9OIPl05zn0_dHd0stdnLxD5vH9HmsX76LnfrQ |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 59f441ae-10b4-4341-9173-f6d933966abc |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1ODYsImV4cCI6MTc2OTcyNTE4Nn0.5kSISX9OIPl05zn0_dHd0stdnLxD5vH9HmsX76LnfrQ; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1ODYsImV4cCI6MTc3MjMxMzU4Nn0.H2debfLMQupMNluQ-A6gbyqgCARaGSS7cFF0ylSbXOA |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:46 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 99 |
| x-ratelimit-reset | 1769721593 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"58f-CoL/KoXlW3x1PtqQr3wqPsXj6DE" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=mJ14gSev2SCM737gtTpU%2FPq3k3AucLMJ6v0MNqh41%2BUu4UFpu1fMxzpTNfiORTgN7J%2FEw8V5RERTxf0ODTkJlMR1bIJYfn7ODZXddevtNopvGRZNvf1V8jc%3D"}]} |
| CF-RAY | 9c5bc509ee0a0c5b-AMM |
{"id":1,"firstName":"Emily","lastName":"Johnson","maidenName":"Smith","age":29,"gender":"female","email":"emily.johnson@x.dummyjson.com","phone":"+81 965-431-3024","username":"emilys","password":"emilyspass","birthDate":"1996-5-30","image":"https://dummyjson.com/icon/emilys/128","bloodGroup":"O-","height":193.24,"weight":63.16,"eyeColor":"Green","hair":{"color":"Brown","type":"Curly"},"ip":"42.48.100.32","address":{"address":"626 Main Street","city":"Phoenix","state":"Mississippi","stateCode":"MS","postalCode":"29112","coordinates":{"lat":-77.16213,"lng":-92.084824},"country":"United States"},"macAddress":"47:fa:41:18:ec:eb","university":"University of Wisconsin--Madison","bank":{"cardExpire":"05/28","cardNumber":"3693233511855044","cardType":"Diners Club International","currency":"GBP","iban":"GB74MH2UZLR9TRPHYNU8F8"},"company":{"department":"Engineering","name":"Dooley, Kozey and Cronin","title":"Sales Manager","address":{"address":"263 Tenth Street","city":"San Francisco","state":"Wisconsin","stateCode":"WI","postalCode":"37657","coordinates":{"lat":71.814525,"lng":-161.150263},"country":"United States"}},"ein":"977-175","ssn":"900-590-289","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body contains user id, username and user email | 1 | 0 | 0 |
| user id is a number and username is a string | 1 | 0 | 0 |
| user email is a valid email | 1 | 0 | 0 |
| returned user matches logged in user | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Login with Invalid Password
## Overview
This negative test case validates the API's behavior when a user attempts to authenticate with an invalid password. It ensures that the authentication endpoint properly rejects login attempts with incorrect credentials.
## Purpose
This negative test is important for verifying:
- **Security**: The API correctly denies access when invalid credentials are provided
- **Error Handling**: Appropriate error responses are returned to the client
- **Input Validation**: The authentication system properly validates password credentials
- **User Feedback**: Clear error messages are provided to help users understand authentication failures
## Expected Behavior
When invalid credentials are provided:
1. The API should reject the authentication attempt
2. Return a `400 Bad Request` status code
3. Provide a clear error message indicating invalid credentials
4. Not grant access tokens or authenticate the user
## Request Details
**HTTP Method:** `POST`
**Endpoint:** `https://dummyjson.com/auth/login`
**Content-Type:** `application/json`
**Request Body:**
```json
{
"username": "emilys",
"password": "wrongpass"
}
```
- `username`: Valid username (emilys)
- `password`: Invalid/incorrect password (wrongpass)
## Variables Used
- **baseUrl**: The base URL for the API (configured in the active environment)
## Response Details
**Status Code:** `400 Bad Request`
**Content-Type:** `application/json`
**Response Body Structure:**
```json
{
"message": "Invalid credentials"
}
```
The response contains:
- `message`: A string field containing the error description indicating that the provided credentials are invalid
## Test Validations
This request includes automated test assertions to verify the expected behavior:
1. ✓ **Status code is 400**: Validates that the API returns a `400 Bad Request` status code
2. ✓ **Response body contains error message field**: Ensures the response includes a `message` property
3. ✓ **Response body contains proper error message**: Verifies that the error message includes the text "invalid credentials" (case-insensitive)
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ded7fede-d949-4864-94ec-f499f4b8bc34 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 60 |
| Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1ODYsImV4cCI6MTc2OTcyNTE4Nn0.5kSISX9OIPl05zn0_dHd0stdnLxD5vH9HmsX76LnfrQ; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1ODYsImV4cCI6MTc3MjMxMzU4Nn0.H2debfLMQupMNluQ-A6gbyqgCARaGSS7cFF0ylSbXOA |
{
"username": "emilys",
"password": "wrongpass"
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:46 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 33 |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 99 |
| x-ratelimit-reset | 1769721597 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"21-dBEoW0UmTF+EGUMaprEp9/8zNNA" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=HYat%2Fa7ZIhFSpkiE6T1OCGaL8mztKVEP%2BpqcEjc1nzzklBDAIgaIG3bqU1ew%2B9HH0FO4guI92vebcAMJWm7xalpujN60Nc18AEfpGWsNaA%2B3ozQz%2FX4ju4g%3D"}]} |
| CF-RAY | 9c5bc50b7a180c5b-AMM |
{"message":"Invalid credentials"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| response body contains error message field | 1 | 0 | 0 |
| response body contains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Login with Empty Password Field
## Overview
This negative test case validates the API's behavior when a login request is submitted with an empty password field. It ensures that the authentication endpoint properly handles and rejects incomplete login attempts.
## Purpose
This negative test is important to verify that the API:
- Enforces required field validation for authentication
- Returns appropriate error responses when mandatory fields are missing or empty
- Prevents authentication attempts with incomplete credentials
- Provides clear error messaging to help clients identify the issue
Testing empty/missing required fields is a critical aspect of API security and data validation, ensuring that the system doesn't process invalid requests.
## Expected Behavior
When the password field is empty (or missing), the API should:
- Reject the authentication request
- Return a `400 Bad Request` status code
- Provide a clear error message indicating that both username and password are required
- Not process the login attempt or generate any authentication tokens
## Request Details
**HTTP Method:** `POST`
**Endpoint:** `https://dummyjson.com/auth/login`
**Headers:**
- `Content-Type: application/json`
**Request Body:**
```json
{
"username": "emilys",
"password": ""
}
```
The request includes a valid username but an empty string for the password field, simulating a scenario where the user forgets to enter their password.
## Variables Used
- **baseUrl**: The base URL for the API (defined in the active environment)
## Response Details
**Status Code:** `400 Bad Request`
**Content-Type:** `application/json`
**Response Body Structure:**
```json
{
"message": "Username and password required"
}
```
The response contains a `message` field that provides a descriptive error message explaining why the request was rejected.
## Test Validations
The following automated test assertions are performed on the response:
1. **Status code is 400**: Verifies that the API returns a `400 Bad Request` status code, indicating a client-side error due to invalid input.
2. **Response body contains error message field**: Confirms that the response includes a `message` property, ensuring consistent error response structure.
3. **Response body contains proper error message**: Validates that the error message text includes "username and password required" (case-insensitive), ensuring the API provides meaningful feedback about the missing required fields.
These validations ensure that the API correctly handles incomplete authentication requests and provides appropriate error responses to guide API consumers.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c1944b20-0fcd-4b8f-a7a8-17b7963b2b87 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 51 |
| Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1ODYsImV4cCI6MTc2OTcyNTE4Nn0.5kSISX9OIPl05zn0_dHd0stdnLxD5vH9HmsX76LnfrQ; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1ODYsImV4cCI6MTc3MjMxMzU4Nn0.H2debfLMQupMNluQ-A6gbyqgCARaGSS7cFF0ylSbXOA |
{
"username": "emilys",
"password": ""
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:46 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 44 |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 98 |
| x-ratelimit-reset | 1769721597 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"2c-JAq5V8MKfWmWXvKJFTg6rvXRjdU" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=NCdcl3cWs1jzh6550fDBhKFRmml%2BMK%2FLX0qmayoflk%2FxWxa0B51HSu%2BZq%2FZsxIT8ygC%2FOgr9cFbZoH2uKKn1uyY88pX%2B2FORQ3FwbR3L2IxTuz3gzNsU854%3D"}]} |
| CF-RAY | 9c5bc50cddeb0c5b-AMM |
{"message":"Username and password required"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| response body contains error message field | 1 | 0 | 0 |
| response body contains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Get Current User with Invalid Token
## Overview
This is a negative test case that validates the API's authentication mechanism by attempting to retrieve the current user's information using an invalid or expired authentication token.
## Purpose
This negative test is critical for verifying the security and robustness of the authentication system. It ensures that:
- The API properly rejects requests with invalid/expired tokens
- Unauthorized access is prevented when authentication credentials are compromised or outdated
- The system returns appropriate error messages to help identify authentication failures
- Security vulnerabilities related to token validation are not present
## Expected Behavior
When an invalid or expired token is used for authentication, the API should:
- Reject the request and deny access to protected resources
- Return a `401 Unauthorized` status code
- Provide a clear error message indicating the token is invalid or expired
- Not expose any sensitive user information
## Request Details
- **HTTP Method**: `GET`
- **Endpoint**: `https://dummyjson.com/auth/me`
- **Authentication**: Bearer Token (using `invalid token` variable)
## Variables Used
- **baseUrl**: The base URL for the API endpoint
- **invalid_token**: An invalid or expired authentication token used specifically for testing authentication failure scenarios
## Response Details
- **Status Code**: `401 Unauthorized`
- **Content-Type**: `application/json`
- **Response Body Structure**:
```json
{
"message": "Invalid/expired token"
}
```
The response contains a `message` field that provides details about the authentication error.
## Test Validations
This request includes automated test assertions to verify the expected behavior:
1. **Status code is 401**: Validates that the API returns the correct HTTP status code for unauthorized access
2. **Response body contains error message field**: Ensures the response includes a `message` property with error details
3. **Response body contains proper error message**: Verifies that the error message text includes "invalid/expired token" to clearly indicate the authentication failure reason
| Header Name | Header Value |
|---|---|
| Authorization | Bearer invalid token |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8d0c021e-74c8-452f-8aa2-5f69ec46d132 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1ODYsImV4cCI6MTc2OTcyNTE4Nn0.5kSISX9OIPl05zn0_dHd0stdnLxD5vH9HmsX76LnfrQ; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1ODYsImV4cCI6MTc3MjMxMzU4Nn0.H2debfLMQupMNluQ-A6gbyqgCARaGSS7cFF0ylSbXOA |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:47 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 36 |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 98 |
| x-ratelimit-reset | 1769721593 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| Set-Cookie | accessToken=; Path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT |
| Set-Cookie | refreshToken=; Path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT |
| etag | W/"24-xqucZbgfFI1MEKHBW2jR/IjHNdY" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=yBWB%2FXb3v4V%2BsIYAPUO9wA7TK6tuSLhhgin7OMqjZYMwWQhonheMuZXgGMK1MH7nF2is7K4XumnHlXO%2BiMl34gsvHJLCoNhqrbRmXQEIooUhJ95%2B5aE5jPY%3D"}]} |
| CF-RAY | 9c5bc50e7abc0c5b-AMM |
{"message":"Invalid/Expired Token!"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401 | 1 | 0 | 0 |
| response body contains error message field | 1 | 0 | 0 |
| Response body cantains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Products-List
## Overview
This endpoint retrieves a list of products from the DummyJSON API. It returns a paginated collection of product items with their basic information.
## Purpose
This endpoint is used to:
- Retrieve the product catalog for browsing and display purposes
- Support product listing pages in e-commerce applications
- Enable pagination through large product datasets
- Allow selective field retrieval to optimize response payload
## Expected Behavior
When executed successfully, this request returns a paginated list of products in JSON format. The response includes:
- An array of product objects with their details
- Pagination metadata (total count, skip offset, limit)
- HTTP 200 OK status code
- Response time under 2000ms
## Request Details
**HTTP Method:** `GET`
**Endpoint:** `https://dummyjson.com/products`
**Optional Query Parameters:**
- `limit` - Number of products to return (e.g., `10`)
- `skip` - Number of products to skip for pagination (e.g., `10`)
- `select` - Comma-separated list of fields to include in response (e.g., `title,price`)
**Example Request:**
```
GET https://dummyjson.com/products?limit=10&skip=0&select=title,price
```
## Variables Used
- **baseUrl**: The base URL for the DummyJSON API (configured in the active environment)
## Response Details
**Status Code:** `200 OK`
**Content-Type:** `application/json`
**Response Body Structure:**
```json
{
"products": [
{
"id": 1,
"title": "Product Name",
"price": 99.99,
// ... other product fields
}
],
"total": 100,
"skip": 0,
"limit": 10
}
```
**Response Fields:**
- `products` (array) - Array of product objects
- `id` (number) - Unique product identifier
- `title` (string) - Product name/title
- `price` (number) - Product price
- `total` (number) - Total number of products available
- `skip` (number) - Number of products skipped in pagination
- `limit` (number) - Maximum number of products returned
## Test Validations
This request includes automated test assertions to validate:
✓ **Status code is 200** - Confirms successful request
✓ **Response time is less than 2000ms** - Ensures acceptable performance
✓ **Content-Type is application/json** - Validates correct response format
✓ **Response body contains products array** - Verifies main data structure exists
✓ **Products array is not empty** - Ensures data is returned
✓ **Each product has id, title and price** - Validates required fields presence
✓ **Each product id is number, title is string, price is number** - Validates correct data types
✓ **Response body contains pagination fields** - Confirms total, skip, and limit fields exist
✓ **Products count does not exceed limit** - Validates pagination logic
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7cfcebce-55e4-48d7-aa8b-4250502791b7 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:47 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 99 |
| x-ratelimit-reset | 1769676639 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"ac3a-uk0FDUI0X0lS5liyUbIxqA7L7F4" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| Age | 44952 |
| Cache-Control | no-store |
| cf-cache-status | HIT |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=s5bQdiUcL6DWhve6S1CePjR3zgZoP6eFchO2AsJ6EgvR4%2BGa5ibaVGUNhYksJWUXGK1Kq3gKolv%2B899ZTBuv%2F9eqcUC9lWDWh3ClE0RL8XPiJR343YUuHDk%3D"}]} |
| CF-RAY | 9c5bc50ffedd0c5b-AMM |
{"products":[{"id":1,"title":"Essence Mascara Lash Princess","description":"The Essence Mascara Lash Princess is a popular mascara known for its volumizing and lengthening effects. Achieve dramatic lashes with this long-lasting and cruelty-free formula.","category":"beauty","price":9.99,"discountPercentage":10.48,"rating":2.56,"stock":99,"tags":["beauty","mascara"],"brand":"Essence","sku":"BEA-ESS-ESS-001","weight":4,"dimensions":{"width":15.14,"height":13.08,"depth":22.99},"warrantyInformation":"1 week warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Collins","reviewerEmail":"eleanor.collins@x.dummyjson.com"},{"rating":4,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lucas Gordon","reviewerEmail":"lucas.gordon@x.dummyjson.com"},{"rating":5,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Collins","reviewerEmail":"eleanor.collins@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":48,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5784719087687","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/thumbnail.webp"},{"id":2,"title":"Eyeshadow Palette with Mirror","description":"The Eyeshadow Palette with Mirror offers a versatile range of eyeshadow shades for creating stunning eye looks. With a built-in mirror, it's convenient for on-the-go makeup application.","category":"beauty","price":19.99,"discountPercentage":18.19,"rating":2.86,"stock":34,"tags":["beauty","eyeshadow"],"brand":"Glamour Beauty","sku":"BEA-GLA-EYE-002","weight":9,"dimensions":{"width":9.26,"height":22.47,"depth":27.67},"warrantyInformation":"1 year warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Savannah Gomez","reviewerEmail":"savannah.gomez@x.dummyjson.com"},{"rating":4,"comment":"Awesome product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Christian Perez","reviewerEmail":"christian.perez@x.dummyjson.com"},{"rating":1,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nicholas Bailey","reviewerEmail":"nicholas.bailey@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":20,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"9170275171413","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/eyeshadow-palette-with-mirror/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/eyeshadow-palette-with-mirror/thumbnail.webp"},{"id":3,"title":"Powder Canister","description":"The Powder Canister is a finely milled setting powder designed to set makeup and control shine. With a lightweight and translucent formula, it provides a smooth and matte finish.","category":"beauty","price":14.99,"discountPercentage":9.84,"rating":4.64,"stock":89,"tags":["beauty","face powder"],"brand":"Velvet Touch","sku":"BEA-VEL-POW-003","weight":8,"dimensions":{"width":29.27,"height":27.93,"depth":20.59},"warrantyInformation":"3 months warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Alexander Jones","reviewerEmail":"alexander.jones@x.dummyjson.com"},{"rating":5,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Elijah Cruz","reviewerEmail":"elijah.cruz@x.dummyjson.com"},{"rating":1,"comment":"Very dissatisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Avery Perez","reviewerEmail":"avery.perez@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":22,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"8418883906837","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/powder-canister/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/powder-canister/thumbnail.webp"},{"id":4,"title":"Red Lipstick","description":"The Red Lipstick is a classic and bold choice for adding a pop of color to your lips. With a creamy and pigmented formula, it provides a vibrant and long-lasting finish.","category":"beauty","price":12.99,"discountPercentage":12.16,"rating":4.36,"stock":91,"tags":["beauty","lipstick"],"brand":"Chic Cosmetics","sku":"BEA-CHI-LIP-004","weight":1,"dimensions":{"width":18.11,"height":28.38,"depth":22.17},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Liam Garcia","reviewerEmail":"liam.garcia@x.dummyjson.com"},{"rating":5,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Ruby Andrews","reviewerEmail":"ruby.andrews@x.dummyjson.com"},{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Clara Berry","reviewerEmail":"clara.berry@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":40,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"9467746727219","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/red-lipstick/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/red-lipstick/thumbnail.webp"},{"id":5,"title":"Red Nail Polish","description":"The Red Nail Polish offers a rich and glossy red hue for vibrant and polished nails. With a quick-drying formula, it provides a salon-quality finish at home.","category":"beauty","price":8.99,"discountPercentage":11.44,"rating":4.32,"stock":79,"tags":["beauty","nail polish"],"brand":"Nail Couture","sku":"BEA-NAI-NAI-005","weight":8,"dimensions":{"width":21.63,"height":16.48,"depth":29.84},"warrantyInformation":"1 month warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Benjamin Wilson","reviewerEmail":"benjamin.wilson@x.dummyjson.com"},{"rating":5,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Liam Smith","reviewerEmail":"liam.smith@x.dummyjson.com"},{"rating":1,"comment":"Very unhappy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Clara Berry","reviewerEmail":"clara.berry@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":22,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"4063010628104","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/red-nail-polish/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/red-nail-polish/thumbnail.webp"},{"id":6,"title":"Calvin Klein CK One","description":"CK One by Calvin Klein is a classic unisex fragrance, known for its fresh and clean scent. It's a versatile fragrance suitable for everyday wear.","category":"fragrances","price":49.99,"discountPercentage":1.89,"rating":4.37,"stock":29,"tags":["fragrances","perfumes"],"brand":"Calvin Klein","sku":"FRA-CAL-CAL-006","weight":7,"dimensions":{"width":29.36,"height":27.76,"depth":20.72},"warrantyInformation":"1 week warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Layla Young","reviewerEmail":"layla.young@x.dummyjson.com"},{"rating":4,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Daniel Cook","reviewerEmail":"daniel.cook@x.dummyjson.com"},{"rating":3,"comment":"Not as described!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Jacob Cooper","reviewerEmail":"jacob.cooper@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":9,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"2451534060749","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/fragrances/calvin-klein-ck-one/1.webp","https://cdn.dummyjson.com/product-images/fragrances/calvin-klein-ck-one/2.webp","https://cdn.dummyjson.com/product-images/fragrances/calvin-klein-ck-one/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/fragrances/calvin-klein-ck-one/thumbnail.webp"},{"id":7,"title":"Chanel Coco Noir Eau De","description":"Coco Noir by Chanel is an elegant and mysterious fragrance, featuring notes of grapefruit, rose, and sandalwood. Perfect for evening occasions.","category":"fragrances","price":129.99,"discountPercentage":16.51,"rating":4.26,"stock":58,"tags":["fragrances","perfumes"],"brand":"Chanel","sku":"FRA-CHA-CHA-007","weight":7,"dimensions":{"width":24.5,"height":25.7,"depth":25.98},"warrantyInformation":"3 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Ruby Andrews","reviewerEmail":"ruby.andrews@x.dummyjson.com"},{"rating":5,"comment":"Awesome product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Leah Henderson","reviewerEmail":"leah.henderson@x.dummyjson.com"},{"rating":5,"comment":"Very happy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Xavier Wright","reviewerEmail":"xavier.wright@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"4091737746820","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/fragrances/chanel-coco-noir-eau-de/1.webp","https://cdn.dummyjson.com/product-images/fragrances/chanel-coco-noir-eau-de/2.webp","https://cdn.dummyjson.com/product-images/fragrances/chanel-coco-noir-eau-de/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/fragrances/chanel-coco-noir-eau-de/thumbnail.webp"},{"id":8,"title":"Dior J'adore","description":"J'adore by Dior is a luxurious and floral fragrance, known for its blend of ylang-ylang, rose, and jasmine. It embodies femininity and sophistication.","category":"fragrances","price":89.99,"discountPercentage":14.72,"rating":3.8,"stock":98,"tags":["fragrances","perfumes"],"brand":"Dior","sku":"FRA-DIO-DIO-008","weight":4,"dimensions":{"width":27.67,"height":28.28,"depth":11.83},"warrantyInformation":"1 week warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Great value for money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nicholas Bailey","reviewerEmail":"nicholas.bailey@x.dummyjson.com"},{"rating":4,"comment":"Great value for money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Penelope Harper","reviewerEmail":"penelope.harper@x.dummyjson.com"},{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Emma Miller","reviewerEmail":"emma.miller@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":10,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"1445086097250","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/fragrances/dior-j'adore/1.webp","https://cdn.dummyjson.com/product-images/fragrances/dior-j'adore/2.webp","https://cdn.dummyjson.com/product-images/fragrances/dior-j'adore/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/fragrances/dior-j'adore/thumbnail.webp"},{"id":9,"title":"Dolce Shine Eau de","description":"Dolce Shine by Dolce & Gabbana is a vibrant and fruity fragrance, featuring notes of mango, jasmine, and blonde woods. It's a joyful and youthful scent.","category":"fragrances","price":69.99,"discountPercentage":0.62,"rating":3.96,"stock":4,"tags":["fragrances","perfumes"],"brand":"Dolce & Gabbana","sku":"FRA-DOL-DOL-009","weight":6,"dimensions":{"width":27.28,"height":29.88,"depth":18.3},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 1 month","availabilityStatus":"Low Stock","reviews":[{"rating":4,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Mateo Bennett","reviewerEmail":"mateo.bennett@x.dummyjson.com"},{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nolan Gonzalez","reviewerEmail":"nolan.gonzalez@x.dummyjson.com"},{"rating":5,"comment":"Very happy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Aurora Lawson","reviewerEmail":"aurora.lawson@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"3023868210708","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/fragrances/dolce-shine-eau-de/1.webp","https://cdn.dummyjson.com/product-images/fragrances/dolce-shine-eau-de/2.webp","https://cdn.dummyjson.com/product-images/fragrances/dolce-shine-eau-de/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/fragrances/dolce-shine-eau-de/thumbnail.webp"},{"id":10,"title":"Gucci Bloom Eau de","description":"Gucci Bloom by Gucci is a floral and captivating fragrance, with notes of tuberose, jasmine, and Rangoon creeper. It's a modern and romantic scent.","category":"fragrances","price":79.99,"discountPercentage":14.39,"rating":2.74,"stock":91,"tags":["fragrances","perfumes"],"brand":"Gucci","sku":"FRA-GUC-GUC-010","weight":7,"dimensions":{"width":20.92,"height":21.68,"depth":11.2},"warrantyInformation":"6 months warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":1,"comment":"Very dissatisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Cameron Perez","reviewerEmail":"cameron.perez@x.dummyjson.com"},{"rating":5,"comment":"Very happy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Daniel Cook","reviewerEmail":"daniel.cook@x.dummyjson.com"},{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Addison Wright","reviewerEmail":"addison.wright@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"3170832177880","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/fragrances/gucci-bloom-eau-de/1.webp","https://cdn.dummyjson.com/product-images/fragrances/gucci-bloom-eau-de/2.webp","https://cdn.dummyjson.com/product-images/fragrances/gucci-bloom-eau-de/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/fragrances/gucci-bloom-eau-de/thumbnail.webp"},{"id":11,"title":"Annibale Colombo Bed","description":"The Annibale Colombo Bed is a luxurious and elegant bed frame, crafted with high-quality materials for a comfortable and stylish bedroom.","category":"furniture","price":1899.99,"discountPercentage":8.57,"rating":4.77,"stock":88,"tags":["furniture","beds"],"brand":"Annibale Colombo","sku":"FUR-ANN-ANN-011","weight":10,"dimensions":{"width":28.16,"height":25.36,"depth":17.28},"warrantyInformation":"1 year warranty","shippingInformation":"Ships in 1 month","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Christopher West","reviewerEmail":"christopher.west@x.dummyjson.com"},{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Vivian Carter","reviewerEmail":"vivian.carter@x.dummyjson.com"},{"rating":1,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Mason Wright","reviewerEmail":"mason.wright@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"3610757456581","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-bed/1.webp","https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-bed/2.webp","https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-bed/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-bed/thumbnail.webp"},{"id":12,"title":"Annibale Colombo Sofa","description":"The Annibale Colombo Sofa is a sophisticated and comfortable seating option, featuring exquisite design and premium upholstery for your living room.","category":"furniture","price":2499.99,"discountPercentage":14.4,"rating":3.92,"stock":60,"tags":["furniture","sofas"],"brand":"Annibale Colombo","sku":"FUR-ANN-ANN-012","weight":6,"dimensions":{"width":12.75,"height":20.55,"depth":19.06},"warrantyInformation":"Lifetime warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Very unhappy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Christian Perez","reviewerEmail":"christian.perez@x.dummyjson.com"},{"rating":5,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lillian Bishop","reviewerEmail":"lillian.bishop@x.dummyjson.com"},{"rating":1,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lillian Simmons","reviewerEmail":"lillian.simmons@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"1777662847736","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-sofa/1.webp","https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-sofa/2.webp","https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-sofa/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-sofa/thumbnail.webp"},{"id":13,"title":"Bedside Table African Cherry","description":"The Bedside Table in African Cherry is a stylish and functional addition to your bedroom, providing convenient storage space and a touch of elegance.","category":"furniture","price":299.99,"discountPercentage":19.09,"rating":2.87,"stock":64,"tags":["furniture","bedside tables"],"brand":"Furniture Co.","sku":"FUR-FUR-BED-013","weight":2,"dimensions":{"width":13.47,"height":24.99,"depth":27.35},"warrantyInformation":"5 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Aaliyah Hanson","reviewerEmail":"aaliyah.hanson@x.dummyjson.com"},{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Liam Smith","reviewerEmail":"liam.smith@x.dummyjson.com"},{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Avery Barnes","reviewerEmail":"avery.barnes@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"6441287925979","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/furniture/bedside-table-african-cherry/1.webp","https://cdn.dummyjson.com/product-images/furniture/bedside-table-african-cherry/2.webp","https://cdn.dummyjson.com/product-images/furniture/bedside-table-african-cherry/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/furniture/bedside-table-african-cherry/thumbnail.webp"},{"id":14,"title":"Knoll Saarinen Executive Conference Chair","description":"The Knoll Saarinen Executive Conference Chair is a modern and ergonomic chair, perfect for your office or conference room with its timeless design.","category":"furniture","price":499.99,"discountPercentage":2.01,"rating":4.88,"stock":26,"tags":["furniture","office chairs"],"brand":"Knoll","sku":"FUR-KNO-KNO-014","weight":10,"dimensions":{"width":13.81,"height":7.5,"depth":5.62},"warrantyInformation":"2 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Waste of money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Ella Cook","reviewerEmail":"ella.cook@x.dummyjson.com"},{"rating":2,"comment":"Very dissatisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Clara Berry","reviewerEmail":"clara.berry@x.dummyjson.com"},{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Elena Long","reviewerEmail":"elena.long@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":5,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"8919386859966","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/furniture/knoll-saarinen-executive-conference-chair/1.webp","https://cdn.dummyjson.com/product-images/furniture/knoll-saarinen-executive-conference-chair/2.webp","https://cdn.dummyjson.com/product-images/furniture/knoll-saarinen-executive-conference-chair/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/furniture/knoll-saarinen-executive-conference-chair/thumbnail.webp"},{"id":15,"title":"Wooden Bathroom Sink With Mirror","description":"The Wooden Bathroom Sink with Mirror is a unique and stylish addition to your bathroom, featuring a wooden sink countertop and a matching mirror.","category":"furniture","price":799.99,"discountPercentage":8.8,"rating":3.59,"stock":7,"tags":["furniture","bathroom"],"brand":"Bath Trends","sku":"FUR-BAT-WOO-015","weight":10,"dimensions":{"width":7.98,"height":8.88,"depth":28.46},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"Low Stock","reviews":[{"rating":4,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Logan Torres","reviewerEmail":"logan.torres@x.dummyjson.com"},{"rating":5,"comment":"Very pleased!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Aria Parker","reviewerEmail":"aria.parker@x.dummyjson.com"},{"rating":3,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Dylan Wells","reviewerEmail":"dylan.wells@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"1958104402873","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/furniture/wooden-bathroom-sink-with-mirror/1.webp","https://cdn.dummyjson.com/product-images/furniture/wooden-bathroom-sink-with-mirror/2.webp","https://cdn.dummyjson.com/product-images/furniture/wooden-bathroom-sink-with-mirror/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/furniture/wooden-bathroom-sink-with-mirror/thumbnail.webp"},{"id":16,"title":"Apple","description":"Fresh and crisp apples, perfect for snacking or incorporating into various recipes.","category":"groceries","price":1.99,"discountPercentage":12.62,"rating":4.19,"stock":8,"tags":["fruits"],"sku":"GRO-BRD-APP-016","weight":9,"dimensions":{"width":13.66,"height":11.01,"depth":9.73},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Sophia Brown","reviewerEmail":"sophia.brown@x.dummyjson.com"},{"rating":1,"comment":"Very dissatisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Scarlett Bowman","reviewerEmail":"scarlett.bowman@x.dummyjson.com"},{"rating":3,"comment":"Very unhappy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"William Gonzalez","reviewerEmail":"william.gonzalez@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":7,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"7962803553314","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/apple/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/apple/thumbnail.webp"},{"id":17,"title":"Beef Steak","description":"High-quality beef steak, great for grilling or cooking to your preferred level of doneness.","category":"groceries","price":12.99,"discountPercentage":9.61,"rating":4.47,"stock":86,"tags":["meat"],"sku":"GRO-BRD-BEE-017","weight":10,"dimensions":{"width":18.9,"height":5.77,"depth":18.57},"warrantyInformation":"3 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Tyler","reviewerEmail":"eleanor.tyler@x.dummyjson.com"},{"rating":4,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Alexander Jones","reviewerEmail":"alexander.jones@x.dummyjson.com"},{"rating":5,"comment":"Great value for money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Natalie Harris","reviewerEmail":"natalie.harris@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":43,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5640063409695","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/beef-steak/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/beef-steak/thumbnail.webp"},{"id":18,"title":"Cat Food","description":"Nutritious cat food formulated to meet the dietary needs of your feline friend.","category":"groceries","price":8.99,"discountPercentage":9.58,"rating":3.13,"stock":46,"tags":["pet supplies","cat food"],"sku":"GRO-BRD-FOO-018","weight":10,"dimensions":{"width":18.08,"height":9.26,"depth":21.86},"warrantyInformation":"1 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Noah Lewis","reviewerEmail":"noah.lewis@x.dummyjson.com"},{"rating":3,"comment":"Very unhappy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Ruby Andrews","reviewerEmail":"ruby.andrews@x.dummyjson.com"},{"rating":2,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Ethan Thompson","reviewerEmail":"ethan.thompson@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":18,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"1483991328610","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/cat-food/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/cat-food/thumbnail.webp"},{"id":19,"title":"Chicken Meat","description":"Fresh and tender chicken meat, suitable for various culinary preparations.","category":"groceries","price":9.99,"discountPercentage":13.7,"rating":3.19,"stock":97,"tags":["meat"],"sku":"GRO-BRD-CHI-019","weight":1,"dimensions":{"width":11.03,"height":22.11,"depth":16.01},"warrantyInformation":"1 year warranty","shippingInformation":"Ships in 1 month","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Mateo Bennett","reviewerEmail":"mateo.bennett@x.dummyjson.com"},{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Jackson Evans","reviewerEmail":"jackson.evans@x.dummyjson.com"},{"rating":3,"comment":"Not worth the price!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Sadie Morales","reviewerEmail":"sadie.morales@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":22,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"8829514594521","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/chicken-meat/1.webp","https://cdn.dummyjson.com/product-images/groceries/chicken-meat/2.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/chicken-meat/thumbnail.webp"},{"id":20,"title":"Cooking Oil","description":"Versatile cooking oil suitable for frying, sautéing, and various culinary applications.","category":"groceries","price":4.99,"discountPercentage":9.33,"rating":4.8,"stock":10,"tags":["cooking essentials"],"sku":"GRO-BRD-COO-020","weight":5,"dimensions":{"width":19.95,"height":27.54,"depth":24.86},"warrantyInformation":"Lifetime warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Very happy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Victoria McDonald","reviewerEmail":"victoria.mcdonald@x.dummyjson.com"},{"rating":2,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Hazel Evans","reviewerEmail":"hazel.evans@x.dummyjson.com"},{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Zoe Bennett","reviewerEmail":"zoe.bennett@x.dummyjson.com"}],"returnPolicy":"30 days return policy","minimumOrderQuantity":46,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"4874727824518","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/cooking-oil/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/cooking-oil/thumbnail.webp"},{"id":21,"title":"Cucumber","description":"Crisp and hydrating cucumbers, ideal for salads, snacks, or as a refreshing side.","category":"groceries","price":1.49,"discountPercentage":0.16,"rating":4.07,"stock":84,"tags":["vegetables"],"sku":"GRO-BRD-CUC-021","weight":4,"dimensions":{"width":12.8,"height":28.38,"depth":21.34},"warrantyInformation":"2 year warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lincoln Kelly","reviewerEmail":"lincoln.kelly@x.dummyjson.com"},{"rating":4,"comment":"Great value for money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Savannah Gomez","reviewerEmail":"savannah.gomez@x.dummyjson.com"},{"rating":2,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"James Davis","reviewerEmail":"james.davis@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5300066378225","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/cucumber/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/cucumber/thumbnail.webp"},{"id":22,"title":"Dog Food","description":"Specially formulated dog food designed to provide essential nutrients for your canine companion.","category":"groceries","price":10.99,"discountPercentage":10.27,"rating":4.55,"stock":71,"tags":["pet supplies","dog food"],"sku":"GRO-BRD-FOO-022","weight":10,"dimensions":{"width":16.93,"height":27.15,"depth":9.29},"warrantyInformation":"No warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nicholas Edwards","reviewerEmail":"nicholas.edwards@x.dummyjson.com"},{"rating":5,"comment":"Awesome product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Zachary Lee","reviewerEmail":"zachary.lee@x.dummyjson.com"},{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nova Cooper","reviewerEmail":"nova.cooper@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":43,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5906686116469","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/dog-food/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/dog-food/thumbnail.webp"},{"id":23,"title":"Eggs","description":"Fresh eggs, a versatile ingredient for baking, cooking, or breakfast.","category":"groceries","price":2.99,"discountPercentage":11.05,"rating":2.53,"stock":9,"tags":["dairy"],"sku":"GRO-BRD-EGG-023","weight":2,"dimensions":{"width":11.42,"height":7.44,"depth":16.95},"warrantyInformation":"1 week warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Disappointing product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Penelope King","reviewerEmail":"penelope.king@x.dummyjson.com"},{"rating":3,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Tyler","reviewerEmail":"eleanor.tyler@x.dummyjson.com"},{"rating":4,"comment":"Very pleased!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Benjamin Foster","reviewerEmail":"benjamin.foster@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":32,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"3478638588469","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/eggs/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/eggs/thumbnail.webp"},{"id":24,"title":"Fish Steak","description":"Quality fish steak, suitable for grilling, baking, or pan-searing.","category":"groceries","price":14.99,"discountPercentage":4.23,"rating":3.78,"stock":74,"tags":["seafood"],"sku":"GRO-BRD-FIS-024","weight":6,"dimensions":{"width":14.95,"height":26.31,"depth":11.27},"warrantyInformation":"1 month warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Would not buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Caleb Perkins","reviewerEmail":"caleb.perkins@x.dummyjson.com"},{"rating":5,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Isabella Jackson","reviewerEmail":"isabella.jackson@x.dummyjson.com"},{"rating":4,"comment":"Great value for money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nathan Dixon","reviewerEmail":"nathan.dixon@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":50,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"9595036192098","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/fish-steak/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/fish-steak/thumbnail.webp"},{"id":25,"title":"Green Bell Pepper","description":"Fresh and vibrant green bell pepper, perfect for adding color and flavor to your dishes.","category":"groceries","price":1.29,"discountPercentage":0.16,"rating":3.25,"stock":33,"tags":["vegetables"],"sku":"GRO-BRD-GRE-025","weight":2,"dimensions":{"width":15.33,"height":26.65,"depth":14.44},"warrantyInformation":"1 month warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Avery Carter","reviewerEmail":"avery.carter@x.dummyjson.com"},{"rating":3,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Henry Hill","reviewerEmail":"henry.hill@x.dummyjson.com"},{"rating":5,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Addison Wright","reviewerEmail":"addison.wright@x.dummyjson.com"}],"returnPolicy":"30 days return policy","minimumOrderQuantity":12,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"2365227493323","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/green-bell-pepper/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/green-bell-pepper/thumbnail.webp"},{"id":26,"title":"Green Chili Pepper","description":"Spicy green chili pepper, ideal for adding heat to your favorite recipes.","category":"groceries","price":0.99,"discountPercentage":1,"rating":3.66,"stock":3,"tags":["vegetables"],"sku":"GRO-BRD-GRE-026","weight":7,"dimensions":{"width":15.38,"height":18.12,"depth":19.92},"warrantyInformation":"2 year warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"Low Stock","reviews":[{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Luna Russell","reviewerEmail":"luna.russell@x.dummyjson.com"},{"rating":1,"comment":"Waste of money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Noah Lewis","reviewerEmail":"noah.lewis@x.dummyjson.com"},{"rating":3,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Clara Berry","reviewerEmail":"clara.berry@x.dummyjson.com"}],"returnPolicy":"30 days return policy","minimumOrderQuantity":39,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"9335000538563","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/green-chili-pepper/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/green-chili-pepper/thumbnail.webp"},{"id":27,"title":"Honey Jar","description":"Pure and natural honey in a convenient jar, perfect for sweetening beverages or drizzling over food.","category":"groceries","price":6.99,"discountPercentage":14.4,"rating":3.97,"stock":34,"tags":["condiments"],"sku":"GRO-BRD-HON-027","weight":2,"dimensions":{"width":9.28,"height":21.72,"depth":17.74},"warrantyInformation":"1 month warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":1,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Autumn Gomez","reviewerEmail":"autumn.gomez@x.dummyjson.com"},{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Benjamin Wilson","reviewerEmail":"benjamin.wilson@x.dummyjson.com"},{"rating":2,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nicholas Edwards","reviewerEmail":"nicholas.edwards@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":47,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"6354306346329","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/honey-jar/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/honey-jar/thumbnail.webp"},{"id":28,"title":"Ice Cream","description":"Creamy and delicious ice cream, available in various flavors for a delightful treat.","category":"groceries","price":5.49,"discountPercentage":8.69,"rating":3.39,"stock":27,"tags":["desserts"],"sku":"GRO-BRD-CRE-028","weight":1,"dimensions":{"width":14.83,"height":15.07,"depth":24.2},"warrantyInformation":"1 month warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Very pleased!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Elijah Cruz","reviewerEmail":"elijah.cruz@x.dummyjson.com"},{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Jace Smith","reviewerEmail":"jace.smith@x.dummyjson.com"},{"rating":5,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Sadie Morales","reviewerEmail":"sadie.morales@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":42,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"0788954559076","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/ice-cream/1.webp","https://cdn.dummyjson.com/product-images/groceries/ice-cream/2.webp","https://cdn.dummyjson.com/product-images/groceries/ice-cream/3.webp","https://cdn.dummyjson.com/product-images/groceries/ice-cream/4.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/ice-cream/thumbnail.webp"},{"id":29,"title":"Juice","description":"Refreshing fruit juice, packed with vitamins and great for staying hydrated.","category":"groceries","price":3.99,"discountPercentage":12.06,"rating":3.94,"stock":50,"tags":["beverages"],"sku":"GRO-BRD-JUI-029","weight":1,"dimensions":{"width":18.56,"height":21.46,"depth":28.02},"warrantyInformation":"6 months warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nolan Gonzalez","reviewerEmail":"nolan.gonzalez@x.dummyjson.com"},{"rating":4,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Bella Grant","reviewerEmail":"bella.grant@x.dummyjson.com"},{"rating":5,"comment":"Awesome product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Aria Flores","reviewerEmail":"aria.flores@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":25,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"6936112580956","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/juice/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/juice/thumbnail.webp"},{"id":30,"title":"Kiwi","description":"Nutrient-rich kiwi, perfect for snacking or adding a tropical twist to your dishes.","category":"groceries","price":2.49,"discountPercentage":15.22,"rating":4.93,"stock":99,"tags":["fruits"],"sku":"GRO-BRD-KIW-030","weight":5,"dimensions":{"width":19.4,"height":18.67,"depth":17.13},"warrantyInformation":"6 months warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Emily Brown","reviewerEmail":"emily.brown@x.dummyjson.com"},{"rating":2,"comment":"Would not buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Jackson Morales","reviewerEmail":"jackson.morales@x.dummyjson.com"},{"rating":4,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nora Russell","reviewerEmail":"nora.russell@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":30,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"2530169917252","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/kiwi/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/kiwi/thumbnail.webp"}],"total":194,"skip":0,"limit":30}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000 ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body contains products array | 1 | 0 | 0 |
| products array is not empty | 1 | 0 | 0 |
| Each product has id, title and price | 1 | 0 | 0 |
| each product id is number,title is string, price is number | 1 | 0 | 0 |
| response body contains pagination fields | 1 | 0 | 0 |
| products count does not exceed limit | 1 | 0 | 0 |
| each product price is not negative | 1 | 0 | 0 |
| Total | 10 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Product-By ID
## Overview
This endpoint retrieves a specific product by its unique identifier. It returns detailed information about a single product from the DummyJSON API.
## Purpose
This endpoint is used to:
- View detailed information about a specific product
- Retrieve product data for display on product detail pages
- Fetch product information for inventory management or catalog systems
- Validate product existence and details in the system
## Expected Behavior
When this request is executed successfully, it returns comprehensive information about the requested product, including its ID, title, description, category, and price. The response is delivered in JSON format with a 200 OK status code.
## Request Details
- **HTTP Method**: `GET`
- **Endpoint**: `https://dummyjson.com/products/1`
- **Path Variables**:
- `product_id` - The unique identifier of the product to retrieve
## Variables Used
- **baseUrl**: The base URL for the DummyJSON API
- **product_id**: The unique identifier of the product to retrieve (numeric value)
## Response Details
- **Status Code**: `200 OK`
- **Content-Type**: `application/json`
- **Response Body Structure**:
``` json
{
"id": number,
"title": string,
"description": string,
"category": string,
"price": number
}
```
### Response Fields:
- `id` (number): The unique identifier of the product
- `title` (string): The name/title of the product
- `description` (string): Detailed description of the product
- `category` (string): The category to which the product belongs
- `price` (number): The price of the product
## Test Validations
This request includes the following automated test assertions:
- ✓ **Status code is 200**: Verifies the request was successful
- ✓ **Response time is less than 2000ms**: Ensures the API responds within acceptable performance limits
- ✓ **Content-Type is application/json**: Confirms the response format is JSON
- ✓ **Response body is a JSON object**: Validates the response structure
- ✓ **Response body contains required fields**: Checks for presence of `id`, `title`, `description`, `category`, and `price`
- ✓ **Required fields have correct data types**: Validates that:
- `id` is a number
- `title` is a string
- `description` is a string
- `category` is a string
- `price` is a number
- ✓ **Returned product id matches requested product id**: Ensures the correct product was retrieved
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 401edaec-616d-47aa-96ac-057a554ac9a3 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:47 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 99 |
| x-ratelimit-reset | 1769530921 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"5e6-bX+IgjHKZz+TflDmEXfyyaBO9Hk" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| Age | 190672 |
| Cache-Control | no-store |
| cf-cache-status | HIT |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=qVLm66PFauqygTLqacKMFGWAVmsRBMvF1KCB1Jg3zHEa9Ci3%2BlA4i6xYDoQXEW4QJ4ficWsknlluJcnvqchD2BJZ9q5MPeyYqPQb6m8uUSpAHPnTYXQRZ8k%3D"}]} |
| CF-RAY | 9c5bc510d9440c5b-AMM |
{"id":1,"title":"Essence Mascara Lash Princess","description":"The Essence Mascara Lash Princess is a popular mascara known for its volumizing and lengthening effects. Achieve dramatic lashes with this long-lasting and cruelty-free formula.","category":"beauty","price":9.99,"discountPercentage":10.48,"rating":2.56,"stock":99,"tags":["beauty","mascara"],"brand":"Essence","sku":"BEA-ESS-ESS-001","weight":4,"dimensions":{"width":15.14,"height":13.08,"depth":22.99},"warrantyInformation":"1 week warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Collins","reviewerEmail":"eleanor.collins@x.dummyjson.com"},{"rating":4,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lucas Gordon","reviewerEmail":"lucas.gordon@x.dummyjson.com"},{"rating":5,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Collins","reviewerEmail":"eleanor.collins@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":48,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5784719087687","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/thumbnail.webp"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body contains required fields | 1 | 0 | 0 |
| required fields have correct data types | 1 | 0 | 0 |
| returned product id matches requested product id | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Search Product-By Query
## Overview
This endpoint allows users to search for products in the DummyJSON API by providing a search query. The API returns a list of products that match the search criteria based on product titles and descriptions.
## Purpose
To enable product search functionality by accepting a query parameter and returning relevant products from the database. This is commonly used for implementing search features in e-commerce applications.
## Expected Behavior
- Accepts a search query string as a parameter
- Returns products where the query matches either the product title or description
- Returns at least one product for valid search queries
- Responds with a 200 status code for successful searches
- Returns results in JSON format within 2000ms
## Request Details
**Method:** `GET`
**URL:** `https://dummyjson.com/products/search?q=phone`
**Query Parameters:**
- `q` (required): The search query string to filter products. This parameter accepts text that will be matched against product titles and descriptions.
**Headers:** None specified (default headers apply)
## Variables Used
- **`baseUrl`**: The base URL for the DummyJSON API endpoint. This variable should point to the API's root URL (e.g., `https://dummyjson.com`).
- **`product_query`**: The search term or phrase used to find matching products. This variable contains the actual search string that will be passed to the `q` query parameter.
## Response Details
**Structure:**
The response returns a JSON object containing an array of product objects.
**Fields:**
- `products` (array): An array of product objects matching the search criteria
- `id` (number): Unique identifier for the product
- `title` (string): Product name/title
- `price` (number): Product price
- `description` (string): Product description (used in search matching)
- Additional product fields may be included
**Data Types:**
- Product ID: Number
- Product Title: String
- Product Price: Number
- Products Array: Array of objects
## Test Validations
This request includes comprehensive automated tests to validate the API response:
1. **Status Code Validation**: Verifies that the response returns a 200 OK status code, indicating successful request processing.
2. **Performance Check**: Ensures the response time is less than 2000 milliseconds to maintain acceptable API performance.
3. **Content-Type Validation**: Confirms that the response Content-Type header is `application/json`, ensuring proper data format.
4. **Response Structure Validation**: Checks that the response body contains a `products` property that is an array.
5. **Non-Empty Results**: Validates that the search returns at least one product for valid search queries.
6. **Required Fields Presence**: Verifies that each product in the results contains the required fields: `id`, `title`, and `price`.
7. **Data Type Validation**: Ensures that each product's fields have the correct data types:
- `id` must be a number
- `title` must be a string
- `price` must be a number
8. **Search Relevance**: Confirms that the search query appears in either the product title or description of returned products, validating search accuracy.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ee73d00f-18c9-42be-a7e3-3811dd7e03a1 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:47 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 97 |
| x-ratelimit-reset | 1769721597 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"91a2-RFRCC1oz+o2Uvyk0nOQo9Pf5Q2g" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=jm2bynVBXY4qUpp0hNDo5f8wdHUUidRdjcHRUf3T1k6zFSyDC1Oih6vKEqu%2FBvgO8w3fN%2Bs6AIqcBPvoBdSJLDYXhsF4wHCzZDgbUHTIvkzQZJ2WTGPC%2BKA%3D"}]} |
| CF-RAY | 9c5bc5119b4f0c5b-AMM |
{"products":[{"id":101,"title":"Apple AirPods Max Silver","description":"The Apple AirPods Max in Silver are premium over-ear headphones with high-fidelity audio, adaptive EQ, and active noise cancellation. Experience immersive sound in style.","category":"mobile-accessories","price":549.99,"discountPercentage":13.67,"rating":3.47,"stock":59,"tags":["electronics","over-ear headphones"],"brand":"Apple","sku":"MOB-APP-APP-101","weight":2,"dimensions":{"width":24.88,"height":14.9,"depth":27.54},"warrantyInformation":"No warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Henry Adams","reviewerEmail":"henry.adams@x.dummyjson.com"},{"rating":4,"comment":"Very happy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Elijah Cruz","reviewerEmail":"elijah.cruz@x.dummyjson.com"},{"rating":4,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"William Lopez","reviewerEmail":"william.lopez@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"4062176053732","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/apple-airpods-max-silver/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/apple-airpods-max-silver/thumbnail.webp"},{"id":104,"title":"Apple iPhone Charger","description":"The Apple iPhone Charger is a high-quality charger designed for fast and efficient charging of your iPhone. Ensure your device stays powered up and ready to go.","category":"mobile-accessories","price":19.99,"discountPercentage":18.52,"rating":4.15,"stock":31,"tags":["electronics","chargers"],"brand":"Apple","sku":"MOB-APP-APP-104","weight":1,"dimensions":{"width":13.63,"height":26.25,"depth":5.95},"warrantyInformation":"1 year warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":1,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Sadie Morales","reviewerEmail":"sadie.morales@x.dummyjson.com"},{"rating":5,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lily Torres","reviewerEmail":"lily.torres@x.dummyjson.com"},{"rating":2,"comment":"Waste of money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Luke Cooper","reviewerEmail":"luke.cooper@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":14,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"0879776541417","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/apple-iphone-charger/1.webp","https://cdn.dummyjson.com/product-images/mobile-accessories/apple-iphone-charger/2.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/apple-iphone-charger/thumbnail.webp"},{"id":105,"title":"Apple MagSafe Battery Pack","description":"The Apple MagSafe Battery Pack is a portable and convenient way to add extra battery life to your MagSafe-compatible iPhone. Attach it magnetically for a secure connection.","category":"mobile-accessories","price":99.99,"discountPercentage":17.17,"rating":3.62,"stock":1,"tags":["electronics","power banks"],"brand":"Apple","sku":"MOB-APP-APP-105","weight":6,"dimensions":{"width":15.4,"height":11.89,"depth":19.67},"warrantyInformation":"2 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"Low Stock","reviews":[{"rating":2,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Stella Morris","reviewerEmail":"stella.morris@x.dummyjson.com"},{"rating":2,"comment":"Not as described!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Henry Adams","reviewerEmail":"henry.adams@x.dummyjson.com"},{"rating":5,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Cameron Burke","reviewerEmail":"cameron.burke@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":4,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5157424897794","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/apple-magsafe-battery-pack/1.webp","https://cdn.dummyjson.com/product-images/mobile-accessories/apple-magsafe-battery-pack/2.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/apple-magsafe-battery-pack/thumbnail.webp"},{"id":107,"title":"Beats Flex Wireless Earphones","description":"The Beats Flex Wireless Earphones offer a comfortable and versatile audio experience. With magnetic earbuds and up to 12 hours of battery life, they are ideal for everyday use.","category":"mobile-accessories","price":49.99,"discountPercentage":5.73,"rating":4.24,"stock":50,"tags":["electronics","wireless earphones"],"brand":"Beats","sku":"MOB-BEA-BEA-107","weight":8,"dimensions":{"width":17.86,"height":25.74,"depth":23.09},"warrantyInformation":"1 year warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Disappointing product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"William Gonzalez","reviewerEmail":"william.gonzalez@x.dummyjson.com"},{"rating":5,"comment":"Very pleased!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Gabriel Mitchell","reviewerEmail":"gabriel.mitchell@x.dummyjson.com"},{"rating":2,"comment":"Not worth the price!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Gabriel Adams","reviewerEmail":"gabriel.adams@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":17,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"1741271692174","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/beats-flex-wireless-earphones/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/beats-flex-wireless-earphones/thumbnail.webp"},{"id":108,"title":"iPhone 12 Silicone Case with MagSafe Plum","description":"The iPhone 12 Silicone Case with MagSafe in Plum is a stylish and protective case designed for the iPhone 12. It features MagSafe technology for easy attachment of accessories.","category":"mobile-accessories","price":29.99,"discountPercentage":13.85,"rating":3.62,"stock":69,"tags":["electronics","phone accessories"],"brand":"Apple","sku":"MOB-APP-IPH-108","weight":7,"dimensions":{"width":12.49,"height":11.29,"depth":23.52},"warrantyInformation":"3 months warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Would not buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Penelope King","reviewerEmail":"penelope.king@x.dummyjson.com"},{"rating":5,"comment":"Great value for money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Isabella Anderson","reviewerEmail":"isabella.anderson@x.dummyjson.com"},{"rating":5,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Claire Foster","reviewerEmail":"claire.foster@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":4,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"8156838251449","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/iphone-12-silicone-case-with-magsafe-plum/1.webp","https://cdn.dummyjson.com/product-images/mobile-accessories/iphone-12-silicone-case-with-magsafe-plum/2.webp","https://cdn.dummyjson.com/product-images/mobile-accessories/iphone-12-silicone-case-with-magsafe-plum/3.webp","https://cdn.dummyjson.com/product-images/mobile-accessories/iphone-12-silicone-case-with-magsafe-plum/4.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/iphone-12-silicone-case-with-magsafe-plum/thumbnail.webp"},{"id":110,"title":"Selfie Lamp with iPhone","description":"The Selfie Lamp with iPhone is a portable and adjustable LED light designed to enhance your selfies and video calls. Attach it to your iPhone for well-lit photos.","category":"mobile-accessories","price":14.99,"discountPercentage":19.4,"rating":3.55,"stock":58,"tags":["electronics","selfie accessories"],"brand":"GadgetMaster","sku":"MOB-GAD-SEL-110","weight":10,"dimensions":{"width":5.26,"height":13.84,"depth":22.83},"warrantyInformation":"Lifetime warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Luke Cooper","reviewerEmail":"luke.cooper@x.dummyjson.com"},{"rating":3,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Caleb Perkins","reviewerEmail":"caleb.perkins@x.dummyjson.com"},{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Benjamin Wilson","reviewerEmail":"benjamin.wilson@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":22,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"4372781189895","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/selfie-lamp-with-iphone/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/selfie-lamp-with-iphone/thumbnail.webp"},{"id":111,"title":"Selfie Stick Monopod","description":"The Selfie Stick Monopod is a extendable and foldable device for capturing the perfect selfie or group photo. Compatible with smartphones and cameras.","category":"mobile-accessories","price":12.99,"discountPercentage":19.12,"rating":3.88,"stock":11,"tags":["electronics","selfie accessories"],"brand":"SnapTech","sku":"MOB-SNA-SEL-111","weight":2,"dimensions":{"width":24.76,"height":26.38,"depth":21.39},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Ryan Graham","reviewerEmail":"ryan.graham@x.dummyjson.com"},{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nora Russell","reviewerEmail":"nora.russell@x.dummyjson.com"},{"rating":1,"comment":"Very dissatisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Luna Perez","reviewerEmail":"luna.perez@x.dummyjson.com"}],"returnPolicy":"30 days return policy","minimumOrderQuantity":8,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"7063982050226","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/selfie-stick-monopod/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/selfie-stick-monopod/thumbnail.webp"},{"id":121,"title":"iPhone 5s","description":"The iPhone 5s is a classic smartphone known for its compact design and advanced features during its release. While it's an older model, it still provides a reliable user experience.","category":"smartphones","price":199.99,"discountPercentage":12.91,"rating":2.83,"stock":25,"tags":["smartphones","apple"],"brand":"Apple","sku":"SMA-APP-IPH-121","weight":2,"dimensions":{"width":5.29,"height":18.38,"depth":17.72},"warrantyInformation":"Lifetime warranty","shippingInformation":"Ships in 1 month","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Jace Smith","reviewerEmail":"jace.smith@x.dummyjson.com"},{"rating":1,"comment":"Not as described!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Logan Torres","reviewerEmail":"logan.torres@x.dummyjson.com"},{"rating":5,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Harper Kelly","reviewerEmail":"harper.kelly@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"8814683940853","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/iphone-5s/1.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-5s/2.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-5s/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/iphone-5s/thumbnail.webp"},{"id":122,"title":"iPhone 6","description":"The iPhone 6 is a stylish and capable smartphone with a larger display and improved performance. It introduced new features and design elements, making it a popular choice in its time.","category":"smartphones","price":299.99,"discountPercentage":6.69,"rating":3.41,"stock":60,"tags":["smartphones","apple"],"brand":"Apple","sku":"SMA-APP-IPH-122","weight":7,"dimensions":{"width":11,"height":9.1,"depth":9.67},"warrantyInformation":"1 month warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Disappointing product!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Stella Morris","reviewerEmail":"stella.morris@x.dummyjson.com"},{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Nolan Gonzalez","reviewerEmail":"nolan.gonzalez@x.dummyjson.com"},{"rating":5,"comment":"Great value for money!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Benjamin Foster","reviewerEmail":"benjamin.foster@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":5,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"9922357685013","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/iphone-6/1.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-6/2.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-6/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/iphone-6/thumbnail.webp"},{"id":123,"title":"iPhone 13 Pro","description":"The iPhone 13 Pro is a cutting-edge smartphone with a powerful camera system, high-performance chip, and stunning display. It offers advanced features for users who demand top-notch technology.","category":"smartphones","price":1099.99,"discountPercentage":9.37,"rating":4.12,"stock":56,"tags":["smartphones","apple"],"brand":"Apple","sku":"SMA-APP-IPH-123","weight":8,"dimensions":{"width":12.63,"height":5.28,"depth":14.29},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Christian Perez","reviewerEmail":"christian.perez@x.dummyjson.com"},{"rating":3,"comment":"Not worth the price!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Liam Gonzalez","reviewerEmail":"liam.gonzalez@x.dummyjson.com"},{"rating":5,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Tristan Scott","reviewerEmail":"tristan.scott@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"4998438802308","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/iphone-13-pro/1.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-13-pro/2.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-13-pro/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/iphone-13-pro/thumbnail.webp"},{"id":124,"title":"iPhone X","description":"The iPhone X is a flagship smartphone featuring a bezel-less OLED display, facial recognition technology (Face ID), and impressive performance. It represents a milestone in iPhone design and innovation.","category":"smartphones","price":899.99,"discountPercentage":19.59,"rating":2.51,"stock":37,"tags":["smartphones","apple"],"brand":"Apple","sku":"SMA-APP-IPH-124","weight":1,"dimensions":{"width":21.88,"height":24.19,"depth":14.19},"warrantyInformation":"3 months warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Tyler Davis","reviewerEmail":"tyler.davis@x.dummyjson.com"},{"rating":5,"comment":"Great product!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Aria Parker","reviewerEmail":"aria.parker@x.dummyjson.com"},{"rating":2,"comment":"Not as described!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Lily Torres","reviewerEmail":"lily.torres@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"3034949322264","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/iphone-x/1.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-x/2.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-x/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/iphone-x/thumbnail.webp"},{"id":125,"title":"Oppo A57","description":"The Oppo A57 is a mid-range smartphone known for its sleek design and capable features. It offers a balance of performance and affordability, making it a popular choice.","category":"smartphones","price":249.99,"discountPercentage":2.43,"rating":3.94,"stock":19,"tags":["smartphones","oppo"],"brand":"Oppo","sku":"SMA-OPP-OPP-125","weight":5,"dimensions":{"width":7.2,"height":10.74,"depth":23.68},"warrantyInformation":"Lifetime warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Scarlett Wright","reviewerEmail":"scarlett.wright@x.dummyjson.com"},{"rating":5,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Jacob Cooper","reviewerEmail":"jacob.cooper@x.dummyjson.com"},{"rating":2,"comment":"Poor quality!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Zoe Nicholson","reviewerEmail":"zoe.nicholson@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"0651223722522","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/oppo-a57/1.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-a57/2.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-a57/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/oppo-a57/thumbnail.webp"},{"id":126,"title":"Oppo F19 Pro Plus","description":"The Oppo F19 Pro Plus is a feature-rich smartphone with a focus on camera capabilities. It boasts advanced photography features and a powerful performance for a premium user experience.","category":"smartphones","price":399.99,"discountPercentage":18.64,"rating":3.51,"stock":78,"tags":["smartphones","oppo"],"brand":"Oppo","sku":"SMA-OPP-OPP-126","weight":6,"dimensions":{"width":6.78,"height":25.17,"depth":8.4},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Very happy with my purchase!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Emily Johnson","reviewerEmail":"emily.johnson@x.dummyjson.com"},{"rating":5,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Jaxon Barnes","reviewerEmail":"jaxon.barnes@x.dummyjson.com"},{"rating":4,"comment":"Would buy again!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Nova Cooper","reviewerEmail":"nova.cooper@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"8576893968169","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/oppo-f19-pro-plus/1.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-f19-pro-plus/2.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-f19-pro-plus/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/oppo-f19-pro-plus/thumbnail.webp"},{"id":127,"title":"Oppo K1","description":"The Oppo K1 series offers a range of smartphones with various features and specifications. Known for their stylish design and reliable performance, the Oppo K1 series caters to diverse user preferences.","category":"smartphones","price":299.99,"discountPercentage":18.29,"rating":4.25,"stock":55,"tags":["smartphones","oppo"],"brand":"Oppo","sku":"SMA-OPP-OPP-127","weight":5,"dimensions":{"width":13.89,"height":10.63,"depth":16.6},"warrantyInformation":"1 month warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Very pleased!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Christopher West","reviewerEmail":"christopher.west@x.dummyjson.com"},{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Mia Miller","reviewerEmail":"mia.miller@x.dummyjson.com"},{"rating":2,"comment":"Very dissatisfied!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Ella Adams","reviewerEmail":"ella.adams@x.dummyjson.com"}],"returnPolicy":"30 days return policy","minimumOrderQuantity":5,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"3106827888743","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/oppo-k1/1.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-k1/2.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-k1/3.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-k1/4.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/oppo-k1/thumbnail.webp"},{"id":128,"title":"Realme C35","description":"The Realme C35 is a budget-friendly smartphone with a focus on providing essential features for everyday use. It offers a reliable performance and user-friendly experience.","category":"smartphones","price":149.99,"discountPercentage":15.3,"rating":4.2,"stock":48,"tags":["smartphones","realme"],"brand":"Realme","sku":"SMA-REA-REA-128","weight":2,"dimensions":{"width":25.28,"height":8.14,"depth":29.53},"warrantyInformation":"3 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Penelope King","reviewerEmail":"penelope.king@x.dummyjson.com"},{"rating":2,"comment":"Very unhappy with my purchase!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Asher Scott","reviewerEmail":"asher.scott@x.dummyjson.com"},{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Henry Adams","reviewerEmail":"henry.adams@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"7825844344364","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/realme-c35/1.webp","https://cdn.dummyjson.com/product-images/smartphones/realme-c35/2.webp","https://cdn.dummyjson.com/product-images/smartphones/realme-c35/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/realme-c35/thumbnail.webp"},{"id":129,"title":"Realme X","description":"The Realme X is a mid-range smartphone known for its sleek design and impressive display. It offers a good balance of performance and camera capabilities for users seeking a quality device.","category":"smartphones","price":299.99,"discountPercentage":6.95,"rating":3.7,"stock":12,"tags":["smartphones","realme"],"brand":"Realme","sku":"SMA-REA-REA-129","weight":4,"dimensions":{"width":25.59,"height":21.42,"depth":12.75},"warrantyInformation":"1 month warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Hazel Evans","reviewerEmail":"hazel.evans@x.dummyjson.com"},{"rating":5,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Brayden Fleming","reviewerEmail":"brayden.fleming@x.dummyjson.com"},{"rating":5,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Madison Stewart","reviewerEmail":"madison.stewart@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"4948452391831","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/realme-x/1.webp","https://cdn.dummyjson.com/product-images/smartphones/realme-x/2.webp","https://cdn.dummyjson.com/product-images/smartphones/realme-x/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/realme-x/thumbnail.webp"},{"id":130,"title":"Realme XT","description":"The Realme XT is a feature-rich smartphone with a focus on camera technology. It comes equipped with advanced camera sensors, delivering high-quality photos and videos for photography enthusiasts.","category":"smartphones","price":349.99,"discountPercentage":11.51,"rating":4.58,"stock":80,"tags":["smartphones","realme"],"brand":"Realme","sku":"SMA-REA-REA-130","weight":3,"dimensions":{"width":24.98,"height":26.73,"depth":6.5},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 1 month","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Emily Brown","reviewerEmail":"emily.brown@x.dummyjson.com"},{"rating":3,"comment":"Not as described!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Ella Cook","reviewerEmail":"ella.cook@x.dummyjson.com"},{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Layla Sullivan","reviewerEmail":"layla.sullivan@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"6151817227632","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/realme-xt/1.webp","https://cdn.dummyjson.com/product-images/smartphones/realme-xt/2.webp","https://cdn.dummyjson.com/product-images/smartphones/realme-xt/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/realme-xt/thumbnail.webp"},{"id":131,"title":"Samsung Galaxy S7","description":"The Samsung Galaxy S7 is a flagship smartphone known for its sleek design and advanced features. It features a high-resolution display, powerful camera, and robust performance.","category":"smartphones","price":299.99,"discountPercentage":19.55,"rating":3.3,"stock":67,"tags":["smartphones","samsung galaxy"],"brand":"Samsung","sku":"SMA-SAM-SAM-131","weight":10,"dimensions":{"width":13.55,"height":24.24,"depth":5.63},"warrantyInformation":"3 months warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":1,"comment":"Not as described!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Julian James","reviewerEmail":"julian.james@x.dummyjson.com"},{"rating":4,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Lucas Gordon","reviewerEmail":"lucas.gordon@x.dummyjson.com"},{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Ava Taylor","reviewerEmail":"ava.taylor@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"7557912146622","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s7/1.webp","https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s7/2.webp","https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s7/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s7/thumbnail.webp"},{"id":132,"title":"Samsung Galaxy S8","description":"The Samsung Galaxy S8 is a premium smartphone with an Infinity Display, offering a stunning visual experience. It boasts advanced camera capabilities and cutting-edge technology.","category":"smartphones","price":499.99,"discountPercentage":19.45,"rating":4.4,"stock":0,"tags":["smartphones","samsung galaxy"],"brand":"Samsung","sku":"SMA-SAM-SAM-132","weight":6,"dimensions":{"width":23.05,"height":26.88,"depth":15.73},"warrantyInformation":"2 year warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"Out of Stock","reviews":[{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Owen Fisher","reviewerEmail":"owen.fisher@x.dummyjson.com"},{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Clara Berry","reviewerEmail":"clara.berry@x.dummyjson.com"},{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Tyler Davis","reviewerEmail":"tyler.davis@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":4,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"5995499013336","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s8/1.webp","https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s8/2.webp","https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s8/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s8/thumbnail.webp"},{"id":133,"title":"Samsung Galaxy S10","description":"The Samsung Galaxy S10 is a flagship device featuring a dynamic AMOLED display, versatile camera system, and powerful performance. It represents innovation and excellence in smartphone technology.","category":"smartphones","price":699.99,"discountPercentage":5.59,"rating":3.06,"stock":19,"tags":["smartphones","samsung galaxy"],"brand":"Samsung","sku":"SMA-SAM-SAM-133","weight":9,"dimensions":{"width":27.41,"height":15.26,"depth":27.02},"warrantyInformation":"No warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Tristan Scott","reviewerEmail":"tristan.scott@x.dummyjson.com"},{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Christopher West","reviewerEmail":"christopher.west@x.dummyjson.com"},{"rating":2,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Amelia Perez","reviewerEmail":"amelia.perez@x.dummyjson.com"}],"returnPolicy":"30 days return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"4676898229465","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s10/1.webp","https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s10/2.webp","https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s10/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s10/thumbnail.webp"},{"id":134,"title":"Vivo S1","description":"The Vivo S1 is a stylish and mid-range smartphone offering a blend of design and performance. It features a vibrant display, capable camera system, and reliable functionality.","category":"smartphones","price":249.99,"discountPercentage":10.17,"rating":3.5,"stock":50,"tags":["smartphones","vivo"],"brand":"Vivo","sku":"SMA-VIV-VIV-134","weight":4,"dimensions":{"width":14.06,"height":11.79,"depth":6.78},"warrantyInformation":"6 months warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Samantha Martinez","reviewerEmail":"samantha.martinez@x.dummyjson.com"},{"rating":3,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Logan Lee","reviewerEmail":"logan.lee@x.dummyjson.com"},{"rating":4,"comment":"Would buy again!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Sophia Jones","reviewerEmail":"sophia.jones@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"8575699153333","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/vivo-s1/1.webp","https://cdn.dummyjson.com/product-images/smartphones/vivo-s1/2.webp","https://cdn.dummyjson.com/product-images/smartphones/vivo-s1/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/vivo-s1/thumbnail.webp"},{"id":135,"title":"Vivo V9","description":"The Vivo V9 is a smartphone known for its sleek design and emphasis on capturing high-quality selfies. It features a notch display, dual-camera setup, and a modern design.","category":"smartphones","price":299.99,"discountPercentage":17.67,"rating":3.6,"stock":82,"tags":["smartphones","vivo"],"brand":"Vivo","sku":"SMA-VIV-VIV-135","weight":4,"dimensions":{"width":19.85,"height":21.83,"depth":13.04},"warrantyInformation":"2 year warranty","shippingInformation":"Ships in 1 month","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Very unhappy with my purchase!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Logan Lawson","reviewerEmail":"logan.lawson@x.dummyjson.com"},{"rating":5,"comment":"Awesome product!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Layla Young","reviewerEmail":"layla.young@x.dummyjson.com"},{"rating":4,"comment":"Great value for money!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Asher Scott","reviewerEmail":"asher.scott@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"4295398764784","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/vivo-v9/1.webp","https://cdn.dummyjson.com/product-images/smartphones/vivo-v9/2.webp","https://cdn.dummyjson.com/product-images/smartphones/vivo-v9/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/vivo-v9/thumbnail.webp"},{"id":136,"title":"Vivo X21","description":"The Vivo X21 is a premium smartphone with a focus on cutting-edge technology. It features an in-display fingerprint sensor, a high-resolution display, and advanced camera capabilities.","category":"smartphones","price":499.99,"discountPercentage":17.41,"rating":4.26,"stock":7,"tags":["smartphones","vivo"],"brand":"Vivo","sku":"SMA-VIV-VIV-136","weight":10,"dimensions":{"width":22.49,"height":21.62,"depth":27.88},"warrantyInformation":"1 year warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Very pleased!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Liam Gonzalez","reviewerEmail":"liam.gonzalez@x.dummyjson.com"},{"rating":4,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Aurora Barnes","reviewerEmail":"aurora.barnes@x.dummyjson.com"},{"rating":2,"comment":"Not as described!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Evelyn Walker","reviewerEmail":"evelyn.walker@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"9944308291810","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/vivo-x21/1.webp","https://cdn.dummyjson.com/product-images/smartphones/vivo-x21/2.webp","https://cdn.dummyjson.com/product-images/smartphones/vivo-x21/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/vivo-x21/thumbnail.webp"}],"total":23,"skip":0,"limit":23}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000 ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body contains products array | 1 | 0 | 0 |
| search return at least one product | 1 | 0 | 0 |
| each product has required fields | 1 | 0 | 0 |
| required fields have correct data types | 1 | 0 | 0 |
| search query is reflected in the response | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Products with Limit, Skip, and Select
## Overview
This endpoint retrieves a paginated list of products from the DummyJSON API with the ability to control the number of results returned, skip a specified number of products, and select specific fields to include in the response.
## Purpose
This request demonstrates how to:
- Implement pagination using `limit` and `skip` parameters
- Filter response data to include only specific fields using the `select` parameter
- Optimize API responses by requesting only the data needed
- Validate pagination logic and field selection through automated tests
## Expected Behavior
The API should return a subset of products based on the pagination parameters, with each product containing only the fields specified in the `select` parameter. The response includes metadata about the total number of products available and the pagination state.
## Request Details
**Method:** `GET`
**URL:** `https://dummyjson.com/products?limit=10&skip=10&select=title,price`
**Query Parameters:**
- **limit** (integer): Maximum number of products to return in the response. Set to `10` to retrieve 10 products.
- **skip** (integer): Number of products to skip before starting to return results. Set to `10` to skip the first 10 products (useful for pagination).
- **select** (string): Comma-separated list of fields to include in each product object. Set to `title,price` to return only the title and price fields.
## Variables Used
- **baseUrl**: The base URL for the DummyJSON API endpoint (defined in the active environment)
## Response Details
**Structure:**
```json
{
"products": [
{
"id": 11,
"title": "Product Title",
"price": 99.99
}
],
"total": 100,
"skip": 10,
"limit": 10
}
```
**Fields:**
- **products** (array): Array of product objects containing only the selected fields
- **id** (number): Product identifier
- **title** (string): Product name/title
- **price** (number): Product price
- **total** (number): Total number of products available in the database
- **skip** (number): Number of products skipped (echoes the request parameter)
- **limit** (number): Maximum number of products returned (echoes the request parameter)
**Data Types:**
- `products`: Array of objects
- `total`, `skip`, `limit`: Numbers
- `title`: String
- `price`, `id`: Numbers
## Test Validations
This request includes comprehensive automated tests to validate the API response:
1. **Status Code Validation**: Verifies that the response status code is `200 OK`, indicating a successful request.
2. **Performance Check**: Ensures the response time is less than 2000ms to validate API performance.
3. **Content-Type Validation**: Confirms that the response Content-Type header is `application/json`.
4. **Products Array Existence**: Validates that the response body contains a `products` property that is an array.
5. **Required Fields Validation**: Checks that the response includes the required metadata fields: `total`, `skip`, and `limit`.
6. **Limit Parameter Validation**: Verifies that the number of products returned does not exceed the `limit` parameter specified in the request (10 products maximum).
7. **Skip Parameter Validation**: Confirms that pagination is working correctly by checking that the first product's ID equals `skip + 1` (in this case, the first product should have ID 11 when skip=10).
8. **Select Parameter Validation**: Ensures that each product in the response contains only the fields specified in the `select` parameter (`title` and `price`), validating that field filtering is working as expected.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7fc2fe91-9075-4a4d-b501-770f4b5497a0 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:47 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 96 |
| x-ratelimit-reset | 1769721597 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"24c-Ixzqnac0wdL7dYxmEYVxYgj0DEw" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=6mHv0u7%2Fw7XjxyY0%2FvV%2BhnfiJZ5Gd9%2FROfBJ0QVS%2Br9xqhXt1cl9RR0iyjuVMUgsUoLr%2Ba61Ef05Xm46Eq1FuiHeEohQSFEE5AScbC%2FTUikP6Xa%2B4fDs4Y4%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc51358310c5b-AMM |
{"products":[{"id":11,"title":"Annibale Colombo Bed","price":1899.99},{"id":12,"title":"Annibale Colombo Sofa","price":2499.99},{"id":13,"title":"Bedside Table African Cherry","price":299.99},{"id":14,"title":"Knoll Saarinen Executive Conference Chair","price":499.99},{"id":15,"title":"Wooden Bathroom Sink With Mirror","price":799.99},{"id":16,"title":"Apple","price":1.99},{"id":17,"title":"Beef Steak","price":12.99},{"id":18,"title":"Cat Food","price":8.99},{"id":19,"title":"Chicken Meat","price":9.99},{"id":20,"title":"Cooking Oil","price":4.99}],"total":194,"skip":10,"limit":10}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-Type is application/json | 1 | 0 | 0 |
| response body contains products array | 1 | 0 | 0 |
| response body contains required fields | 1 | 0 | 0 |
| products count is less than or equal to limit | 1 | 0 | 0 |
| products returned are correct based on skip parameter | 1 | 0 | 0 |
| response body contains selected fields | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Add New Product
## Overview
This request creates a new product in the DummyJSON API system by sending product details via a POST request. It validates that the product is successfully created and that the response contains all the submitted information along with a generated product ID.
## Purpose
The primary purpose of this request is to:
- Add a new product to the product catalog
- Verify that the API correctly processes and stores product information
- Ensure the response includes all submitted data plus a system-generated identifier
- Validate API performance and response structure
## Expected Behavior
When executed, this request should:
- Send product details (title, description, category, price) to the API endpoint
- Receive a `201 Created` status code indicating successful product creation
- Return a response containing all the original product fields plus a newly generated `id`
- Complete the operation within 2 seconds
- Return properly formatted JSON data
## Request Details
**Method:** `POST`
**URL:** `https://dummyjson.com/products/add`
**Request Body Structure:**
```json
{
"title": "Red Nail Polish",
"description": "Red Nail Polish with glow effect",
"category": "Beauty",
"price": 5
}
```
**Body Fields:**
- `title` (string): The name of the product
- `description` (string): Detailed description of the product
- `category` (string): Product category classification
- `price` (number): Product price value
## Variables Used
- **`baseUrl`**: The base URL for the DummyJSON API endpoint. This variable is defined in the active environment and allows for easy switching between different API environments (e.g., QA, production).
## Response Details
**Expected Status Code:** `201 Created`
**Response Structure:**
The API returns a JSON object containing all the submitted product fields plus an auto-generated identifier.
**Response Fields:**
- `id` (number): System-generated unique identifier for the newly created product
- `title` (string): Product name as submitted in the request
- `description` (string): Product description as submitted in the request
- `category` (string): Product category as submitted in the request
- `price` (number): Product price as submitted in the request
**Example Response:**
```json
{
"id": 195,
"title": "Red Nail Polish",
"description": "Red Nail Polish with glow effect",
"category": "Beauty",
"price": 5
}
```
## Test Validations
This request includes 7 automated test validations that run after receiving the response:
1. **Status Code Validation**: Verifies that the response status code is `201`, confirming successful product creation.
2. **Performance Validation**: Ensures the response time is less than 2000ms (2 seconds), validating acceptable API performance.
3. **Content-Type Validation**: Checks that the response `Content-Type` header includes `application/json`, confirming proper response format.
4. **Response Structure Validation**: Validates that the response body is a JSON object, ensuring the correct data structure.
5. **ID Field Validation**: Confirms that the response body contains an `id` property and that it is of number data type, verifying the system generated a valid identifier.
6. **Request Body Keys Validation**: Iterates through all keys in the request body and verifies that each key exists in the response, ensuring no data was lost during processing.
7. **Request Body Values Validation**: Compares all values from the request body with corresponding values in the response, confirming that the API accurately stored and returned the submitted product information.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d21b04b9-8760-4f90-98bf-b80b77b272c7 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 133 |
{
"title": "Red Nail Polish",
"description":"Red Nail Polish with glow effect",
"category":"Beauty",
"price":5
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:48 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 115 |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 97 |
| x-ratelimit-reset | 1769721593 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"73-zkKcG4JUzvalQo/LgvbqhkmQ7HQ" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=%2F5j%2FdrAtOnZ12LnNSueNcp0I8lmOI02kfHqrejPN8NO5xLJOvGnBQoq2qGQbxRg051BMCbLERdDJ4P8h6VwvL58jztEbR6JH87c%2Fw7xt9MSFeu2VBWxPkkU%3D"}]} |
| CF-RAY | 9c5bc514fc850c5b-AMM |
{"id":195,"title":"Red Nail Polish","price":5,"description":"Red Nail Polish with glow effect","category":"Beauty"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 201 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-Type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body has id key and is number data type | 1 | 0 | 0 |
| returned product contains all request body keys | 1 | 0 | 0 |
| returned product contains all request body values | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Update Product
## Overview
This endpoint allows partial updates to an existing product in the system using the PATCH HTTP method. It enables modification of specific product fields without requiring all product data to be sent in the request.
## Purpose
The primary purpose of this request is to update selected attributes of a product identified by its unique `product_id`. This is particularly useful when you need to modify only certain fields (such as title or category) while leaving other product attributes unchanged.
## Expected Behavior
When executed successfully, this request will:
- Accept a partial product object containing only the fields to be updated
- Update the specified fields for the product matching the provided `product_id`
- Return the complete updated product object in the response
- Validate that the changes were applied correctly through automated tests
## Request Details
**Method:** `PATCH`
**URL:** `https://dummyjson.com/products/1`
**Request Body Structure:**
The request body is sent as raw JSON and includes the fields to be updated:
```json
{
"title": "Lip Gloss",
"category": "Makeup"
}
```
**Fields:**
- `title` (string): The updated product title/name
- `category` (string): The updated product category
## Variables Used
This request utilizes the following variables:
- **`baseUrl`**: The base URL of the API endpoint (e.g., `https://dummyjson.com`)
- **`product_id`**: The unique identifier of the product to be updated
These variables should be defined in your active environment for the request to execute properly.
## Response Details
The API returns a JSON object representing the updated product with the following characteristics:
**Structure:** JSON Object
**Response Fields:**
- Contains all product fields including both updated and unchanged attributes
- The fields specified in the request body (`title`, `category`) will reflect the new values
- Other product fields (such as `id`, `price`, `description`, etc.) remain unchanged
**Data Types:**
- String fields for textual data (title, category, description)
- Numeric fields for quantitative data (id, price, stock)
- The response structure matches the complete product schema
**Key Behavior:** The response returns the full product object after applying the updates, allowing you to verify that only the specified fields were modified while all other data remained intact.
## Test Validations
This request includes 5 automated tests in the post-response script to ensure proper functionality:
1. **Status Code Validation**: Verifies that the response status code is `200`, confirming the update was successful.
2. **Response Time Check**: Ensures the API responds within 2000 milliseconds (2 seconds), validating acceptable performance.
3. **Content-Type Verification**: Confirms that the response `Content-Type` header includes `application/json`, ensuring the correct data format.
4. **Response Structure Validation**: Checks that the response body is a valid JSON object, confirming proper data structure.
5. **Field Update Verification**: Dynamically validates that each field sent in the request body matches the corresponding field in the response, ensuring all specified updates were applied correctly. This test iterates through all keys in the request body and compares them with the response values.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e660a296-58a5-4e0b-9fde-621e1fb35295 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 55 |
{
"title":"Lip Gloss",
"category":"Makeup"
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:48 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 96 |
| x-ratelimit-reset | 1769721593 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"212-MnhZ1KLQAeMJ5PyhRQ885JHlhEk" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=tnPElzs5uyMMYSJfKwU15XPb8laX3KH6FcU6tNwS3yI2PvO8mBr46%2F72%2FF%2FMUaxvV9X7wQtzjINAxJziijJV8pbY0EYWDest72vtExjO0BcFqCZRbQHrTMA%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc51678330c5b-AMM |
{"id":1,"title":"Lip Gloss","price":9.99,"discountPercentage":10.48,"stock":99,"rating":2.56,"images":["https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/thumbnail.webp","description":"The Essence Mascara Lash Princess is a popular mascara known for its volumizing and lengthening effects. Achieve dramatic lashes with this long-lasting and cruelty-free formula.","brand":"Essence","category":"Makeup"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| edited fields are updated | 1 | 0 | 0 |
| Total | 5 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Delete Product
## Overview
This endpoint removes a product from the system by its unique identifier. The DELETE operation marks the product as deleted and returns confirmation details including the deletion timestamp.
## Purpose
To permanently delete a specific product from the inventory system using its product ID. This operation is typically used when a product needs to be removed from the catalog or inventory management system.
## Expected Behavior
When a valid product ID is provided, the API will:
- Mark the product as deleted in the system
- Return a confirmation response with deletion status
- Include a timestamp indicating when the deletion occurred
- Respond with a 200 OK status code upon successful deletion
## Request Details
- **Method:** `DELETE`
- **URL:** `https://dummyjson.com/products/1`
- **Request Body:** None required
The endpoint uses a path variable to identify which product to delete. No request body is needed for this operation.
## Variables Used
- **`baseUrl`**: The base URL of the API server (e.g., https://dummyjson.com)
- **`product_id`**: The unique identifier of the product to be deleted
## Response Details
The API returns a JSON object confirming the deletion operation.
**Response Structure:**
```json
{
"isDeleted": boolean,
"deletedOn": string
}
```
**Response Fields:**
- **`isDeleted`** (boolean): Indicates whether the product has been successfully deleted. Returns `true` when deletion is successful.
- **`deletedOn`** (string): A timestamp string representing when the product was deleted from the system.
## Test Validations
The request includes 7 automated test validations to ensure proper API behavior:
1. **Status Code Validation**: Verifies that the response status code is 200, confirming successful deletion
2. **Response Time Check**: Ensures the API responds within 2000 milliseconds for optimal performance
3. **Content-Type Validation**: Confirms the response Content-Type header is `application/json`
4. **Response Structure Validation**: Verifies that the response body is a valid JSON object
5. **isDeleted Property Validation**: Checks that the response contains an `isDeleted` property with a boolean data type
6. **deletedOn Property Validation**: Checks that the response contains a `deletedOn` property with a string data type
7. **Deletion Confirmation**: Validates that the `isDeleted` field is `true`, confirming the product was successfully deleted
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6d899d48-aae6-4b50-a8e6-fcc9997ddd1f |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:48 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 99 |
| x-ratelimit-reset | 1769721597 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"61e-f0gqr/PxenuTxXSEatIsDYNxK68" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=Ve5rgm1OIwGjdiTPBsojCfw1NlfetlrLnOqiGEplKT2gIoinpl4sKj3na%2F120WoVfEBK43N%2Fj3krs%2BFJiNcgCbz%2BTGYZjeeWkeU%2FvJkrMJ3C3UIg3JULNHU%3D"}]} |
| CF-RAY | 9c5bc517fbbd0c5b-AMM |
{"id":1,"title":"Essence Mascara Lash Princess","description":"The Essence Mascara Lash Princess is a popular mascara known for its volumizing and lengthening effects. Achieve dramatic lashes with this long-lasting and cruelty-free formula.","category":"beauty","price":9.99,"discountPercentage":10.48,"rating":2.56,"stock":99,"tags":["beauty","mascara"],"brand":"Essence","sku":"BEA-ESS-ESS-001","weight":4,"dimensions":{"width":15.14,"height":13.08,"depth":22.99},"warrantyInformation":"1 week warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Collins","reviewerEmail":"eleanor.collins@x.dummyjson.com"},{"rating":4,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lucas Gordon","reviewerEmail":"lucas.gordon@x.dummyjson.com"},{"rating":5,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Collins","reviewerEmail":"eleanor.collins@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":48,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5784719087687","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/thumbnail.webp","isDeleted":true,"deletedOn":"2026-01-29T21:19:48.542Z"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body has is deleted property with correct data type | 1 | 0 | 0 |
| response body has deleted on property with correct data type | 1 | 0 | 0 |
| product is deleted | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Get Product with Invalid ID
## Overview
This is a negative test case designed to validate the API's error handling capabilities when attempting to retrieve a product using an invalid product ID. The request intentionally uses an invalid identifier to ensure the API responds appropriately with proper error messages and status codes.
## Purpose
The primary purpose of this test is to:
- Verify that the API correctly handles invalid product ID requests
- Ensure appropriate HTTP error status codes are returned (404 Not Found)
- Validate that meaningful error messages are provided to API consumers
- Confirm the API's robustness in handling edge cases and invalid inputs
## Expected Behavior
When this request is executed with an invalid product ID, the API should:
- Return a **404 Not Found** status code
- Provide a JSON response containing an error message
- Include a descriptive message indicating the product was not found
- Handle the error gracefully without server crashes or unexpected behavior
## Request Details
- **HTTP Method:** `GET`
- **Endpoint URL:** `https://dummyjson.com/products/99999999`
- **Request Body:** None (GET requests do not include a request body)
The endpoint follows RESTful conventions for retrieving a single resource by ID, where the product ID is passed as a path parameter.
## Variables Used
This request utilizes the following variables:
| Variable | Description |
|----------|-------------|
| `baseUrl` | The base URL of the API endpoint (e.g., https://dummyjson.com) |
| `invalid_id` | An invalid product identifier used to trigger the error response |
These variables should be configured in the active environment to ensure the test executes correctly.
## Response Details
**Expected Status Code:** `404 Not Found`
**Response Structure:**
The API returns a JSON object containing error information:
```json
{
"message": "Product with id '[invalid_id]' not found"
}
```
**Response Fields:**
- `message` (string): A descriptive error message indicating that the requested product could not be found
**Data Types:**
- The response is a JSON object
- The `message` field contains a string value with details about the error
## Test Validations
This request includes three automated test validations in the post-response script:
### 1. **Status Code Validation**
- **Test Name:** "Status code is 404"
- **Purpose:** Verifies that the API returns the correct HTTP status code (404) when an invalid product ID is provided
- **Validation:** Checks that `pm.response.to.have.status(404)`
### 2. **Error Message Presence**
- **Test Name:** "response body contains error message"
- **Purpose:** Ensures the response body includes a `message` property to communicate the error to the client
- **Validation:** Checks that the response object has a property named "message"
### 3. **Error Message Content**
- **Test Name:** "response body contains proper error message"
- **Purpose:** Validates that the error message is meaningful and specifically indicates the resource was "not found"
- **Validation:** Checks that the message text (case-insensitive) includes the phrase "not found"
All three tests must pass for this negative test case to be considered successful, ensuring comprehensive validation of the API's error handling behavior.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f6b667ca-2a6c-435a-b43d-bb3abfa5a9fb |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:48 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 98 |
| x-ratelimit-reset | 1769721597 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"32-zUUkJE53bVqc5DHiuD4GsBHb/1U" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=X40pSbmNK8YMkppojBoFkk2mrs0twAKlQayulnvEEGWbQupM2aTjOZ2n9F%2BAUQBeTeDDU9mZ0QD6lZRiAkMDe91cEyB8qtu2WftkvgQozTv3K%2B8r0IGpdaY%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc5197fe70c5b-AMM |
{"message":"Product with id '99999999' not found"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| response body contains error message | 1 | 0 | 0 |
| response body contains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Delete Product with Invalid ID
## Overview
This is a negative test case designed to validate the API's error handling when attempting to delete a product using an invalid product ID. The request tests whether the API properly rejects deletion attempts with non-existent product identifiers and returns appropriate error responses.
## Purpose
The purpose of this test is to ensure that:
- The API correctly handles invalid product IDs during delete operations
- Proper HTTP status codes are returned for failed deletion attempts
- Error messages are clear and informative
- The API maintains data integrity by preventing operations on non-existent resources
## Expected Behavior
When a DELETE request is sent with an invalid product ID, the API should:
- Return a `404 Not Found` status code
- Provide a JSON response containing an error message
- Include the text "not found" in the error message
- Reject the deletion operation without affecting any existing data
## Request Details
- **Method:** `DELETE`
- **URL:** `https://dummyjson.com/products/99999999`
- **Request Body:** None (DELETE requests typically do not include a request body)
- **Path Variable:** The `invalid_id` variable is used in the URL path to represent a non-existent product identifier
## Variables Used
- **`baseUrl`**: The base URL of the API endpoint (e.g., the root domain and path)
- **`invalid_id`**: A product ID that does not exist in the system, used to trigger the error scenario
## Response Details
The expected response structure for this negative test case:
- **Status Code:** `404` (Not Found)
- **Response Body Structure:**
- `message` (string): An error message describing why the deletion failed
- **Data Types:**
- The response is in JSON format
- The `message` field contains a string value that includes "not found" text
Example response:
```json
{
"message": "Product not found"
}
```
## Test Validations
This request includes three automated test validations in the post-response script:
1. **Status Code Validation**: Verifies that the response status code is `404`, confirming that the API correctly identifies the product as non-existent.
2. **Error Message Property Check**: Ensures that the response body contains a `message` property, validating that the API provides error information in the expected format.
3. **Error Message Content Validation**: Confirms that the error message includes the text "not found" (case-insensitive), ensuring the error message is meaningful and accurately describes the issue.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 329086e0-8f6d-4e57-8f4f-86f2c9aa58b0 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:49 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 98 |
| x-ratelimit-reset | 1769721591 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"32-zUUkJE53bVqc5DHiuD4GsBHb/1U" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=TXONfrg1YVVhM5lNajpHayTcJ%2BNTq7Fg6W%2BoypSRx3VfPaCKEESK870pwlb6uZBRIwRnUm2zypOJWiJG4THo5MR062tmHQgu%2BeLkC0QlqogZr%2BvK8Td40Y4%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc51afb880c5b-AMM |
{"message":"Product with id '99999999' not found"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| response body contains error message | 1 | 0 | 0 |
| response body contains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Carts-List
## Overview
This endpoint retrieves a list of all shopping carts from the DummyJSON API. It provides comprehensive cart information including products, totals, discounts, and user associations.
## Purpose
The primary purpose of this request is to fetch all available carts in the system. This is useful for:
- Monitoring active shopping carts
- Analyzing cart data across users
- Testing cart retrieval functionality
- Validating cart data structure and integrity
## Expected Behaviour
When this request is executed successfully, it returns a JSON response containing an array of cart objects. Each cart includes detailed information about the products added, pricing details, and the associated user.
## Request Details
**HTTP Method:** `GET`
**Endpoint URL:** `https://dummyjson.com/carts`
**Headers:** None required
**Query Parameters:** None
**Path Variables:** None
**Authentication:** None required for this endpoint
## Variables Used
| Variable | Description | Example Value |
| --- | --- | --- |
| `baseUrl` | The base URL for the DummyJSON API | `https://dummyjson.com` |
The `baseUrl` variable is defined in the active environment and should point to the root URL of the DummyJSON API.
## Response Details
The response returns a JSON object with the following structure:
``` json
{
"carts": [
{
"id": number,
"products": array,
"total": number,
"discountedTotal": number,
"userId": number,
"totalProducts": number,
"totalQuantity": number
}
],
"total": number,
"skip": number,
"limit": number
}
```
**Response Fields:**
- `carts` (array): An array containing all cart objects
- `id` (number): Unique identifier for the cart
- `products` (array): Array of product objects in the cart
- `total` (number): Total price before discounts
- `discountedTotal` (number): Total price after applying discounts
- `userId` (number): ID of the user who owns the cart
- `totalProducts` (number): Total number of unique products in the cart
- `totalQuantity` (number): Total quantity of all products in the cart
- `total` (number): Total number of carts available
- `skip` (number): Number of carts skipped for pagination
- `limit` (number): Maximum number of carts returned per request
## Test Validations
This request includes comprehensive automated test validations to ensure the API response meets expected standards. All tests are executed automatically after receiving the response.
### 1\. Status Code Validation
**Test:** Status code is 200
**Validates:** The API successfully processes the request and returns an HTTP 200 OK status code, indicating successful retrieval of cart data.
### 2\. Response Time Performance
**Test:** Response time is less than 2000 ms
**Validates:** The API responds within acceptable performance thresholds (under 2 seconds), ensuring good user experience and system responsiveness.
### 3\. Content-Type Header Validation
**Test:** Response Content-type is application/json
**Validates:** The response is returned in JSON format as expected, with the correct Content-Type header set to application/json.
### 4\. Response Body Structure - Carts Array
**Test:** response body contains cart array
**Validates:** The response body contains the required `carts` property and that it is an array data type, confirming the correct response structure.
### 5\. Data Availability Check
**Test:** cart list is not empty
**Validates:** The carts array contains at least one cart object, ensuring that data is being returned and the system has cart records available.
### 6\. Cart Object Required Fields
**Test:** each cart contains required fields
**Validates:** Every cart object in the response contains all mandatory fields: `id`, `products`, `total`, `discountedTotal`, `userId`, `totalProducts`, and `totalQuantity`.
### 7\. Cart Object Data Type Validation
**Test:** each cart contains fields with correct data types
**Validates:** All cart fields have the correct data types - `id`, `total`, `discountedTotal`, `userId`, `totalProducts`, and `totalQuantity` are numbers, and `products` is an array.
### 8\. Cart Products Array Validation
**Test:** each cart product array is not empty
**Validates:** Each cart's products array contains at least one product, ensuring that carts are not empty and contain actual product data.
### 9\. Product Object Required Fields
**Test:** cart products contain required fields
**Validates:** Each product within a cart contains all necessary fields such as product ID, title, price, quantity, and other product-specific information.
### 10\. Pagination Fields Validation
**Test:** response body contains pagination fields
**Validates:** The response includes pagination metadata fields (`total`, `skip`, `limit`) to support proper pagination handling and navigation through cart data.
### 11\. Pagination Limit Compliance
**Test:** carts count does not exceed limit
**Validates:** The number of carts returned in the response does not exceed the specified limit parameter, ensuring proper pagination behavior and API contract compliance.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9f99dcdf-45f6-4a18-91ef-05f7d2a0557b |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:49 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 97 |
| x-ratelimit-reset | 1769721591 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"7d39-+rQ7kyHBCLIn9tjTeKVf4oegWkQ" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=4q3ziz3UNJ8IIFVVxlli5Z2xk5COjdGmIusTt%2Fu1uBsD5lRVYLMzzChxSHDuNd3JvQ6ayR8j8VNuXNDTjyEqGJhQD2YY3unSMq1%2BYsYPK8eSOw%2BIPQ5eQ34%3D"}]} |
| CF-RAY | 9c5bc51c7f370c5b-AMM |
{"carts":[{"id":1,"products":[{"id":168,"title":"Charger SXT RWD","price":32999.99,"quantity":3,"total":98999.97,"discountPercentage":13.39,"discountedTotal":85743.87,"thumbnail":"https://cdn.dummyjson.com/products/images/vehicle/Charger%20SXT%20RWD/thumbnail.png"},{"id":78,"title":"Apple MacBook Pro 14 Inch Space Grey","price":1999.99,"quantity":2,"total":3999.98,"discountPercentage":18.52,"discountedTotal":3259.18,"thumbnail":"https://cdn.dummyjson.com/products/images/laptops/Apple%20MacBook%20Pro%2014%20Inch%20Space%20Grey/thumbnail.png"},{"id":183,"title":"Green Oval Earring","price":24.99,"quantity":5,"total":124.94999999999999,"discountPercentage":6.28,"discountedTotal":117.1,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-jewellery/Green%20Oval%20Earring/thumbnail.png"},{"id":100,"title":"Apple Airpods","price":129.99,"quantity":5,"total":649.95,"discountPercentage":12.84,"discountedTotal":566.5,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Apple%20Airpods/thumbnail.png"}],"total":103774.85,"discountedTotal":89686.65,"userId":33,"totalProducts":4,"totalQuantity":15},{"id":2,"products":[{"id":144,"title":"Cricket Helmet","price":44.99,"quantity":4,"total":179.96,"discountPercentage":11.47,"discountedTotal":159.32,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Cricket%20Helmet/thumbnail.png"},{"id":124,"title":"iPhone X","price":899.99,"quantity":4,"total":3599.96,"discountPercentage":8.03,"discountedTotal":3310.88,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/iPhone%20X/thumbnail.png"},{"id":148,"title":"Golf Ball","price":9.99,"quantity":4,"total":39.96,"discountPercentage":11.24,"discountedTotal":35.47,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Golf%20Ball/thumbnail.png"},{"id":122,"title":"iPhone 6","price":299.99,"quantity":3,"total":899.97,"discountPercentage":19.64,"discountedTotal":723.22,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/iPhone%206/thumbnail.png"},{"id":110,"title":"Selfie Lamp with iPhone","price":14.99,"quantity":5,"total":74.95,"discountPercentage":19.87,"discountedTotal":60.06,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Selfie%20Lamp%20with%20iPhone/thumbnail.png"}],"total":4794.8,"discountedTotal":4288.95,"userId":142,"totalProducts":5,"totalQuantity":20},{"id":3,"products":[{"id":98,"title":"Rolex Submariner Watch","price":13999.99,"quantity":1,"total":13999.99,"discountPercentage":16.35,"discountedTotal":11710.99,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-watches/Rolex%20Submariner%20Watch/thumbnail.png"},{"id":125,"title":"Oppo A57","price":249.99,"quantity":5,"total":1249.95,"discountPercentage":16.54,"discountedTotal":1043.21,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Oppo%20A57/thumbnail.png"},{"id":55,"title":"Egg Slicer","price":6.99,"quantity":2,"total":13.98,"discountPercentage":16.04,"discountedTotal":11.74,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Egg%20Slicer/thumbnail.png"},{"id":62,"title":"Ice Cube Tray","price":5.99,"quantity":2,"total":11.98,"discountPercentage":8.25,"discountedTotal":10.99,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Ice%20Cube%20Tray/thumbnail.png"},{"id":132,"title":"Samsung Galaxy S8","price":499.99,"quantity":3,"total":1499.97,"discountPercentage":8.84,"discountedTotal":1367.37,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Samsung%20Galaxy%20S8/thumbnail.png"}],"total":16775.87,"discountedTotal":14144.3,"userId":108,"totalProducts":5,"totalQuantity":13},{"id":4,"products":[{"id":187,"title":"Golden Shoes Woman","price":49.99,"quantity":5,"total":249.95000000000002,"discountPercentage":1.64,"discountedTotal":245.85,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-shoes/Golden%20Shoes%20Woman/thumbnail.png"},{"id":40,"title":"Strawberry","price":3.99,"quantity":5,"total":19.950000000000003,"discountPercentage":4.6,"discountedTotal":19.03,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Strawberry/thumbnail.png"},{"id":156,"title":"Green and Black Glasses","price":34.99,"quantity":5,"total":174.95000000000002,"discountPercentage":4.34,"discountedTotal":167.36,"thumbnail":"https://cdn.dummyjson.com/products/images/sunglasses/Green%20and%20Black%20Glasses/thumbnail.png"},{"id":62,"title":"Ice Cube Tray","price":5.99,"quantity":2,"total":11.98,"discountPercentage":8.25,"discountedTotal":10.99,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Ice%20Cube%20Tray/thumbnail.png"}],"total":456.83,"discountedTotal":443.23,"userId":87,"totalProducts":4,"totalQuantity":17},{"id":5,"products":[{"id":108,"title":"iPhone 12 Silicone Case with MagSafe Plum","price":29.99,"quantity":2,"total":59.98,"discountPercentage":14.68,"discountedTotal":51.17,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/iPhone%2012%20Silicone%20Case%20with%20MagSafe%20Plum/thumbnail.png"},{"id":138,"title":"Baseball Ball","price":8.99,"quantity":5,"total":44.95,"discountPercentage":18.49,"discountedTotal":36.64,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Baseball%20Ball/thumbnail.png"},{"id":157,"title":"Party Glasses","price":19.99,"quantity":2,"total":39.98,"discountPercentage":19.17,"discountedTotal":32.32,"thumbnail":"https://cdn.dummyjson.com/products/images/sunglasses/Party%20Glasses/thumbnail.png"},{"id":8,"title":"Dior J'adore","price":89.99,"quantity":3,"total":269.96999999999997,"discountPercentage":10.79,"discountedTotal":240.84,"thumbnail":"https://cdn.dummyjson.com/products/images/fragrances/Dior%20J'adore/thumbnail.png"},{"id":80,"title":"Huawei Matebook X Pro","price":1399.99,"quantity":5,"total":6999.95,"discountPercentage":9.99,"discountedTotal":6300.65,"thumbnail":"https://cdn.dummyjson.com/products/images/laptops/Huawei%20Matebook%20X%20Pro/thumbnail.png"},{"id":28,"title":"Ice Cream","price":5.49,"quantity":3,"total":16.47,"discountPercentage":10,"discountedTotal":14.82,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Ice%20Cream/thumbnail.png"}],"total":7431.3,"discountedTotal":6676.44,"userId":134,"totalProducts":6,"totalQuantity":20},{"id":6,"products":[{"id":172,"title":"Blue Women's Handbag","price":49.99,"quantity":5,"total":249.95000000000002,"discountPercentage":8.08,"discountedTotal":229.75,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-bags/Blue%20Women's%20Handbag/thumbnail.png"},{"id":112,"title":"TV Studio Camera Pedestal","price":499.99,"quantity":3,"total":1499.97,"discountPercentage":15.69,"discountedTotal":1264.62,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/TV%20Studio%20Camera%20Pedestal/thumbnail.png"},{"id":97,"title":"Rolex Datejust","price":10999.99,"quantity":3,"total":32999.97,"discountPercentage":10.58,"discountedTotal":29508.57,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-watches/Rolex%20Datejust/thumbnail.png"},{"id":128,"title":"Realme C35","price":149.99,"quantity":3,"total":449.97,"discountPercentage":3.97,"discountedTotal":432.11,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Realme%20C35/thumbnail.png"}],"total":35199.86,"discountedTotal":31435.05,"userId":150,"totalProducts":4,"totalQuantity":14},{"id":7,"products":[{"id":167,"title":"300 Touring","price":28999.99,"quantity":5,"total":144999.95,"discountPercentage":11.78,"discountedTotal":127918.96,"thumbnail":"https://cdn.dummyjson.com/products/images/vehicle/300%20Touring/thumbnail.png"},{"id":111,"title":"Selfie Stick Monopod","price":12.99,"quantity":4,"total":51.96,"discountPercentage":10.98,"discountedTotal":46.25,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Selfie%20Stick%20Monopod/thumbnail.png"},{"id":129,"title":"Realme X","price":299.99,"quantity":2,"total":599.98,"discountPercentage":10.13,"discountedTotal":539.2,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Realme%20X/thumbnail.png"}],"total":145651.89,"discountedTotal":128504.41,"userId":86,"totalProducts":3,"totalQuantity":11},{"id":8,"products":[{"id":117,"title":"Sportbike Motorcycle","price":7499.99,"quantity":2,"total":14999.98,"discountPercentage":19.83,"discountedTotal":12025.48,"thumbnail":"https://cdn.dummyjson.com/products/images/motorcycle/Sportbike%20Motorcycle/thumbnail.png"},{"id":18,"title":"Cat Food","price":8.99,"quantity":4,"total":35.96,"discountPercentage":1.15,"discountedTotal":35.55,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Cat%20Food/thumbnail.png"},{"id":105,"title":"Apple MagSafe Battery Pack","price":99.99,"quantity":5,"total":499.95,"discountPercentage":7.14,"discountedTotal":464.25,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Apple%20MagSafe%20Battery%20Pack/thumbnail.png"},{"id":6,"title":"Calvin Klein CK One","price":49.99,"quantity":3,"total":149.97,"discountPercentage":5.67,"discountedTotal":141.47,"thumbnail":"https://cdn.dummyjson.com/products/images/fragrances/Calvin%20Klein%20CK%20One/thumbnail.png"}],"total":15685.86,"discountedTotal":12666.75,"userId":23,"totalProducts":4,"totalQuantity":14},{"id":9,"products":[{"id":178,"title":"Corset Leather With Skirt","price":89.99,"quantity":2,"total":179.98,"discountPercentage":12.59,"discountedTotal":157.32,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-dresses/Corset%20Leather%20With%20Skirt/thumbnail.png"},{"id":191,"title":"Rolex Cellini Moonphase","price":15999.99,"quantity":4,"total":63999.96,"discountPercentage":3.26,"discountedTotal":61913.56,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-watches/Rolex%20Cellini%20Moonphase/thumbnail.png"},{"id":47,"title":"Table Lamp","price":49.99,"quantity":2,"total":99.98,"discountPercentage":13.74,"discountedTotal":86.24,"thumbnail":"https://cdn.dummyjson.com/products/images/home-decoration/Table%20Lamp/thumbnail.png"},{"id":134,"title":"Vivo S1","price":249.99,"quantity":5,"total":1249.95,"discountPercentage":5.64,"discountedTotal":1179.45,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Vivo%20S1/thumbnail.png"}],"total":65529.87,"discountedTotal":63336.57,"userId":194,"totalProducts":4,"totalQuantity":13},{"id":10,"products":[{"id":190,"title":"IWC Ingenieur Automatic Steel","price":4999.99,"quantity":5,"total":24999.949999999997,"discountPercentage":12.34,"discountedTotal":21914.96,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-watches/IWC%20Ingenieur%20Automatic%20Steel/thumbnail.png"},{"id":94,"title":"Longines Master Collection","price":1499.99,"quantity":3,"total":4499.97,"discountPercentage":16.44,"discountedTotal":3760.17,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-watches/Longines%20Master%20Collection/thumbnail.png"}],"total":29499.92,"discountedTotal":25675.13,"userId":160,"totalProducts":2,"totalQuantity":8},{"id":11,"products":[{"id":88,"title":"Nike Air Jordan 1 Red And Black","price":149.99,"quantity":1,"total":149.99,"discountPercentage":17.18,"discountedTotal":124.22,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-shoes/Nike%20Air%20Jordan%201%20Red%20And%20Black/thumbnail.png"},{"id":32,"title":"Milk","price":3.49,"quantity":3,"total":10.47,"discountPercentage":9.36,"discountedTotal":9.49,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Milk/thumbnail.png"},{"id":74,"title":"Spoon","price":4.99,"quantity":3,"total":14.97,"discountPercentage":2.78,"discountedTotal":14.55,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Spoon/thumbnail.png"},{"id":145,"title":"Cricket Wicket","price":29.99,"quantity":3,"total":89.97,"discountPercentage":17.87,"discountedTotal":73.89,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Cricket%20Wicket/thumbnail.png"},{"id":26,"title":"Green Chili Pepper","price":0.99,"quantity":3,"total":2.9699999999999998,"discountPercentage":18.69,"discountedTotal":2.41,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Green%20Chili%20Pepper/thumbnail.png"},{"id":127,"title":"Oppo K1","price":299.99,"quantity":1,"total":299.99,"discountPercentage":15.93,"discountedTotal":252.2,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Oppo%20K1/thumbnail.png"}],"total":568.36,"discountedTotal":476.76,"userId":172,"totalProducts":6,"totalQuantity":14},{"id":12,"products":[{"id":63,"title":"Kitchen Sieve","price":7.99,"quantity":4,"total":31.96,"discountPercentage":18.8,"discountedTotal":25.95,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Kitchen%20Sieve/thumbnail.png"},{"id":181,"title":"Marni Red & Black Suit","price":179.99,"quantity":5,"total":899.95,"discountPercentage":14.21,"discountedTotal":772.07,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-dresses/Marni%20Red%20&%20Black%20Suit/thumbnail.png"}],"total":931.91,"discountedTotal":798.02,"userId":202,"totalProducts":2,"totalQuantity":9},{"id":13,"products":[{"id":85,"title":"Man Plaid Shirt","price":34.99,"quantity":2,"total":69.98,"discountPercentage":3.7,"discountedTotal":67.39,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-shirts/Man%20Plaid%20Shirt/thumbnail.png"},{"id":109,"title":"Monopod","price":19.99,"quantity":3,"total":59.97,"discountPercentage":12.95,"discountedTotal":52.2,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Monopod/thumbnail.png"},{"id":160,"title":"Samsung Galaxy Tab S8 Plus Grey","price":599.99,"quantity":1,"total":599.99,"discountPercentage":4.31,"discountedTotal":574.13,"thumbnail":"https://cdn.dummyjson.com/products/images/tablets/Samsung%20Galaxy%20Tab%20S8%20Plus%20Grey/thumbnail.png"},{"id":163,"title":"Girl Summer Dress","price":19.99,"quantity":3,"total":59.97,"discountPercentage":9.44,"discountedTotal":54.31,"thumbnail":"https://cdn.dummyjson.com/products/images/tops/Girl%20Summer%20Dress/thumbnail.png"},{"id":31,"title":"Lemon","price":0.79,"quantity":4,"total":3.16,"discountPercentage":12.32,"discountedTotal":2.77,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Lemon/thumbnail.png"}],"total":793.07,"discountedTotal":750.8,"userId":41,"totalProducts":5,"totalQuantity":13},{"id":14,"products":[{"id":92,"title":"Sports Sneakers Off White Red","price":109.99,"quantity":3,"total":329.96999999999997,"discountPercentage":17.73,"discountedTotal":271.47,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-shoes/Sports%20Sneakers%20Off%20White%20Red/thumbnail.png"},{"id":54,"title":"Citrus Squeezer Yellow","price":8.99,"quantity":5,"total":44.95,"discountPercentage":6.3,"discountedTotal":42.12,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Citrus%20Squeezer%20Yellow/thumbnail.png"},{"id":76,"title":"Wooden Rolling Pin","price":11.99,"quantity":1,"total":11.99,"discountPercentage":8.45,"discountedTotal":10.98,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Wooden%20Rolling%20Pin/thumbnail.png"},{"id":44,"title":"Family Tree Photo Frame","price":29.99,"quantity":5,"total":149.95,"discountPercentage":10.68,"discountedTotal":133.94,"thumbnail":"https://cdn.dummyjson.com/products/images/home-decoration/Family%20Tree%20Photo%20Frame/thumbnail.png"},{"id":67,"title":"Mug Tree Stand","price":15.99,"quantity":3,"total":47.97,"discountPercentage":16.65,"discountedTotal":39.98,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Mug%20Tree%20Stand/thumbnail.png"},{"id":16,"title":"Apple","price":1.99,"quantity":1,"total":1.99,"discountPercentage":11.74,"discountedTotal":1.76,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Apple/thumbnail.png"}],"total":586.82,"discountedTotal":500.25,"userId":94,"totalProducts":6,"totalQuantity":18},{"id":15,"products":[{"id":11,"title":"Annibale Colombo Bed","price":1899.99,"quantity":5,"total":9499.95,"discountPercentage":8.09,"discountedTotal":8731.4,"thumbnail":"https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Bed/thumbnail.png"},{"id":133,"title":"Samsung Galaxy S10","price":699.99,"quantity":3,"total":2099.9700000000003,"discountPercentage":1.12,"discountedTotal":2076.45,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Samsung%20Galaxy%20S10/thumbnail.png"},{"id":111,"title":"Selfie Stick Monopod","price":12.99,"quantity":3,"total":38.97,"discountPercentage":10.98,"discountedTotal":34.69,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Selfie%20Stick%20Monopod/thumbnail.png"},{"id":162,"title":"Blue Frock","price":29.99,"quantity":3,"total":89.97,"discountPercentage":3.86,"discountedTotal":86.5,"thumbnail":"https://cdn.dummyjson.com/products/images/tops/Blue%20Frock/thumbnail.png"},{"id":30,"title":"Kiwi","price":2.49,"quantity":5,"total":12.450000000000001,"discountPercentage":4.34,"discountedTotal":11.91,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Kiwi/thumbnail.png"}],"total":11741.31,"discountedTotal":10940.95,"userId":11,"totalProducts":5,"totalQuantity":19},{"id":16,"products":[{"id":19,"title":"Chicken Meat","price":9.99,"quantity":2,"total":19.98,"discountPercentage":13.37,"discountedTotal":17.31,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Chicken%20Meat/thumbnail.png"},{"id":152,"title":"Tennis Racket","price":49.99,"quantity":3,"total":149.97,"discountPercentage":9.13,"discountedTotal":136.28,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Tennis%20Racket/thumbnail.png"},{"id":35,"title":"Potatoes","price":2.29,"quantity":1,"total":2.29,"discountPercentage":1.69,"discountedTotal":2.25,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Potatoes/thumbnail.png"}],"total":172.24,"discountedTotal":155.84,"userId":200,"totalProducts":3,"totalQuantity":6},{"id":17,"products":[{"id":1,"title":"Essence Mascara Lash Princess","price":9.99,"quantity":2,"total":19.98,"discountPercentage":0.63,"discountedTotal":19.85,"thumbnail":"https://cdn.dummyjson.com/products/images/beauty/Essence%20Mascara%20Lash%20Princess/thumbnail.png"},{"id":60,"title":"Grater Black","price":10.99,"quantity":3,"total":32.97,"discountPercentage":16.62,"discountedTotal":27.49,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Grater%20Black/thumbnail.png"},{"id":74,"title":"Spoon","price":4.99,"quantity":4,"total":19.96,"discountPercentage":2.78,"discountedTotal":19.41,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Spoon/thumbnail.png"},{"id":44,"title":"Family Tree Photo Frame","price":29.99,"quantity":4,"total":119.96,"discountPercentage":10.68,"discountedTotal":107.15,"thumbnail":"https://cdn.dummyjson.com/products/images/home-decoration/Family%20Tree%20Photo%20Frame/thumbnail.png"}],"total":192.87,"discountedTotal":173.9,"userId":141,"totalProducts":4,"totalQuantity":13},{"id":18,"products":[{"id":127,"title":"Oppo K1","price":299.99,"quantity":4,"total":1199.96,"discountPercentage":15.93,"discountedTotal":1008.81,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Oppo%20K1/thumbnail.png"},{"id":24,"title":"Fish Steak","price":14.99,"quantity":3,"total":44.97,"discountPercentage":7.66,"discountedTotal":41.53,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Fish%20Steak/thumbnail.png"},{"id":20,"title":"Cooking Oil","price":4.99,"quantity":5,"total":24.950000000000003,"discountPercentage":12.62,"discountedTotal":21.8,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Cooking%20Oil/thumbnail.png"},{"id":154,"title":"Black Sun Glasses","price":29.99,"quantity":3,"total":89.97,"discountPercentage":1.11,"discountedTotal":88.97,"thumbnail":"https://cdn.dummyjson.com/products/images/sunglasses/Black%20Sun%20Glasses/thumbnail.png"},{"id":44,"title":"Family Tree Photo Frame","price":29.99,"quantity":2,"total":59.98,"discountPercentage":10.68,"discountedTotal":53.57,"thumbnail":"https://cdn.dummyjson.com/products/images/home-decoration/Family%20Tree%20Photo%20Frame/thumbnail.png"},{"id":5,"title":"Red Nail Polish","price":8.99,"quantity":5,"total":44.95,"discountPercentage":3.76,"discountedTotal":43.26,"thumbnail":"https://cdn.dummyjson.com/products/images/beauty/Red%20Nail%20Polish/thumbnail.png"}],"total":1464.78,"discountedTotal":1257.94,"userId":189,"totalProducts":6,"totalQuantity":22},{"id":19,"products":[{"id":187,"title":"Golden Shoes Woman","price":49.99,"quantity":3,"total":149.97,"discountPercentage":1.64,"discountedTotal":147.51,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-shoes/Golden%20Shoes%20Woman/thumbnail.png"},{"id":153,"title":"Volleyball","price":11.99,"quantity":5,"total":59.95,"discountPercentage":16.05,"discountedTotal":50.33,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Volleyball/thumbnail.png"},{"id":34,"title":"Nescafe Coffee","price":7.99,"quantity":3,"total":23.97,"discountPercentage":8.31,"discountedTotal":21.98,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Nescafe%20Coffee/thumbnail.png"},{"id":130,"title":"Realme XT","price":349.99,"quantity":2,"total":699.98,"discountPercentage":17.86,"discountedTotal":574.96,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Realme%20XT/thumbnail.png"}],"total":933.87,"discountedTotal":794.78,"userId":59,"totalProducts":4,"totalQuantity":13},{"id":20,"products":[{"id":107,"title":"Beats Flex Wireless Earphones","price":49.99,"quantity":1,"total":49.99,"discountPercentage":8.79,"discountedTotal":45.6,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Beats%20Flex%20Wireless%20Earphones/thumbnail.png"},{"id":193,"title":"Watch Gold for Women","price":799.99,"quantity":3,"total":2399.9700000000003,"discountPercentage":19.53,"discountedTotal":1931.26,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-watches/Watch%20Gold%20for%20Women/thumbnail.png"},{"id":100,"title":"Apple Airpods","price":129.99,"quantity":3,"total":389.97,"discountPercentage":12.84,"discountedTotal":339.9,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Apple%20Airpods/thumbnail.png"},{"id":90,"title":"Puma Future Rider Trainers","price":89.99,"quantity":5,"total":449.95,"discountPercentage":14.7,"discountedTotal":383.81,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-shoes/Puma%20Future%20Rider%20Trainers/thumbnail.png"},{"id":118,"title":"Attitude Super Leaves Hand Soap","price":8.99,"quantity":5,"total":44.95,"discountPercentage":7.23,"discountedTotal":41.7,"thumbnail":"https://cdn.dummyjson.com/products/images/skin-care/Attitude%20Super%20Leaves%20Hand%20Soap/thumbnail.png"},{"id":166,"title":"Tartan Dress","price":39.99,"quantity":5,"total":199.95000000000002,"discountPercentage":2.82,"discountedTotal":194.31,"thumbnail":"https://cdn.dummyjson.com/products/images/tops/Tartan%20Dress/thumbnail.png"}],"total":3534.78,"discountedTotal":2936.58,"userId":90,"totalProducts":6,"totalQuantity":22},{"id":21,"products":[{"id":77,"title":"Yellow Peeler","price":5.99,"quantity":2,"total":11.98,"discountPercentage":13.16,"discountedTotal":10.4,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Yellow%20Peeler/thumbnail.png"},{"id":91,"title":"Sports Sneakers Off White & Red","price":119.99,"quantity":2,"total":239.98,"discountPercentage":1.96,"discountedTotal":235.28,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-shoes/Sports%20Sneakers%20Off%20White%20&%20Red/thumbnail.png"}],"total":251.96,"discountedTotal":245.68,"userId":42,"totalProducts":2,"totalQuantity":4},{"id":22,"products":[{"id":73,"title":"Spice Rack","price":19.99,"quantity":5,"total":99.94999999999999,"discountPercentage":8.74,"discountedTotal":91.21,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Spice%20Rack/thumbnail.png"},{"id":2,"title":"Eyeshadow Palette with Mirror","price":19.99,"quantity":2,"total":39.98,"discountPercentage":0.7,"discountedTotal":39.7,"thumbnail":"https://cdn.dummyjson.com/products/images/beauty/Eyeshadow%20Palette%20with%20Mirror/thumbnail.png"},{"id":69,"title":"Plate","price":3.99,"quantity":2,"total":7.98,"discountPercentage":16,"discountedTotal":6.7,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Plate/thumbnail.png"},{"id":155,"title":"Classic Sun Glasses","price":24.99,"quantity":3,"total":74.97,"discountPercentage":9.27,"discountedTotal":68.02,"thumbnail":"https://cdn.dummyjson.com/products/images/sunglasses/Classic%20Sun%20Glasses/thumbnail.png"}],"total":222.88,"discountedTotal":205.63,"userId":140,"totalProducts":4,"totalQuantity":12},{"id":23,"products":[{"id":82,"title":"New DELL XPS 13 9300 Laptop","price":1499.99,"quantity":5,"total":7499.95,"discountPercentage":3.9,"discountedTotal":7207.45,"thumbnail":"https://cdn.dummyjson.com/products/images/laptops/New%20DELL%20XPS%2013%209300%20Laptop/thumbnail.png"},{"id":172,"title":"Blue Women's Handbag","price":49.99,"quantity":4,"total":199.96,"discountPercentage":8.08,"discountedTotal":183.8,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-bags/Blue%20Women's%20Handbag/thumbnail.png"},{"id":41,"title":"Tissue Paper Box","price":2.49,"quantity":2,"total":4.98,"discountPercentage":2.74,"discountedTotal":4.84,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Tissue%20Paper%20Box/thumbnail.png"},{"id":37,"title":"Red Onions","price":1.99,"quantity":4,"total":7.96,"discountPercentage":8.95,"discountedTotal":7.25,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Red%20Onions/thumbnail.png"},{"id":138,"title":"Baseball Ball","price":8.99,"quantity":5,"total":44.95,"discountPercentage":18.49,"discountedTotal":36.64,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Baseball%20Ball/thumbnail.png"}],"total":7757.8,"discountedTotal":7439.98,"userId":147,"totalProducts":5,"totalQuantity":20},{"id":24,"products":[{"id":108,"title":"iPhone 12 Silicone Case with MagSafe Plum","price":29.99,"quantity":5,"total":149.95,"discountPercentage":14.68,"discountedTotal":127.94,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/iPhone%2012%20Silicone%20Case%20with%20MagSafe%20Plum/thumbnail.png"},{"id":134,"title":"Vivo S1","price":249.99,"quantity":4,"total":999.96,"discountPercentage":5.64,"discountedTotal":943.56,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Vivo%20S1/thumbnail.png"},{"id":174,"title":"Prada Women Bag","price":599.99,"quantity":1,"total":599.99,"discountPercentage":12.86,"discountedTotal":522.83,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-bags/Prada%20Women%20Bag/thumbnail.png"}],"total":1749.9,"discountedTotal":1594.33,"userId":6,"totalProducts":3,"totalQuantity":10},{"id":25,"products":[{"id":4,"title":"Red Lipstick","price":12.99,"quantity":1,"total":12.99,"discountPercentage":14.69,"discountedTotal":11.08,"thumbnail":"https://cdn.dummyjson.com/products/images/beauty/Red%20Lipstick/thumbnail.png"},{"id":126,"title":"Oppo F19 Pro+","price":399.99,"quantity":1,"total":399.99,"discountPercentage":14.38,"discountedTotal":342.47,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Oppo%20F19%20Pro+/thumbnail.png"}],"total":412.98,"discountedTotal":353.55,"userId":118,"totalProducts":2,"totalQuantity":2},{"id":26,"products":[{"id":37,"title":"Red Onions","price":1.99,"quantity":5,"total":9.95,"discountPercentage":8.95,"discountedTotal":9.06,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Red%20Onions/thumbnail.png"},{"id":128,"title":"Realme C35","price":149.99,"quantity":3,"total":449.97,"discountPercentage":3.97,"discountedTotal":432.11,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Realme%20C35/thumbnail.png"}],"total":459.92,"discountedTotal":441.17,"userId":66,"totalProducts":2,"totalQuantity":8},{"id":27,"products":[{"id":33,"title":"Mulberry","price":4.99,"quantity":1,"total":4.99,"discountPercentage":2.75,"discountedTotal":4.85,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Mulberry/thumbnail.png"},{"id":110,"title":"Selfie Lamp with iPhone","price":14.99,"quantity":2,"total":29.98,"discountPercentage":19.87,"discountedTotal":24.02,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Selfie%20Lamp%20with%20iPhone/thumbnail.png"},{"id":16,"title":"Apple","price":1.99,"quantity":3,"total":5.97,"discountPercentage":11.74,"discountedTotal":5.27,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Apple/thumbnail.png"},{"id":83,"title":"Blue & Black Check Shirt","price":29.99,"quantity":5,"total":149.95,"discountPercentage":8.76,"discountedTotal":136.81,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-shirts/Blue%20&%20Black%20Check%20Shirt/thumbnail.png"}],"total":190.89,"discountedTotal":170.95,"userId":75,"totalProducts":4,"totalQuantity":11},{"id":28,"products":[{"id":1,"title":"Essence Mascara Lash Princess","price":9.99,"quantity":5,"total":49.95,"discountPercentage":0.63,"discountedTotal":49.64,"thumbnail":"https://cdn.dummyjson.com/products/images/beauty/Essence%20Mascara%20Lash%20Princess/thumbnail.png"},{"id":141,"title":"Basketball Rim","price":39.99,"quantity":4,"total":159.96,"discountPercentage":14.7,"discountedTotal":136.45,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Basketball%20Rim/thumbnail.png"}],"total":209.91,"discountedTotal":186.09,"userId":147,"totalProducts":2,"totalQuantity":9},{"id":29,"products":[{"id":80,"title":"Huawei Matebook X Pro","price":1399.99,"quantity":2,"total":2799.98,"discountPercentage":9.99,"discountedTotal":2520.26,"thumbnail":"https://cdn.dummyjson.com/products/images/laptops/Huawei%20Matebook%20X%20Pro/thumbnail.png"},{"id":107,"title":"Beats Flex Wireless Earphones","price":49.99,"quantity":4,"total":199.96,"discountPercentage":8.79,"discountedTotal":182.38,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Beats%20Flex%20Wireless%20Earphones/thumbnail.png"},{"id":25,"title":"Green Bell Pepper","price":1.29,"quantity":2,"total":2.58,"discountPercentage":1.2,"discountedTotal":2.55,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Green%20Bell%20Pepper/thumbnail.png"},{"id":121,"title":"iPhone 5s","price":199.99,"quantity":4,"total":799.96,"discountPercentage":8.38,"discountedTotal":732.92,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/iPhone%205s/thumbnail.png"},{"id":153,"title":"Volleyball","price":11.99,"quantity":5,"total":59.95,"discountPercentage":16.05,"discountedTotal":50.33,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Volleyball/thumbnail.png"}],"total":3862.43,"discountedTotal":3488.44,"userId":170,"totalProducts":5,"totalQuantity":17},{"id":30,"products":[{"id":181,"title":"Marni Red & Black Suit","price":179.99,"quantity":1,"total":179.99,"discountPercentage":14.21,"discountedTotal":154.41,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-dresses/Marni%20Red%20&%20Black%20Suit/thumbnail.png"},{"id":171,"title":"Pacifica Touring","price":31999.99,"quantity":4,"total":127999.96,"discountPercentage":7.4,"discountedTotal":118527.96,"thumbnail":"https://cdn.dummyjson.com/products/images/vehicle/Pacifica%20Touring/thumbnail.png"},{"id":35,"title":"Potatoes","price":2.29,"quantity":4,"total":9.16,"discountPercentage":1.69,"discountedTotal":9.01,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Potatoes/thumbnail.png"},{"id":46,"title":"Plant Pot","price":14.99,"quantity":4,"total":59.96,"discountPercentage":17.65,"discountedTotal":49.38,"thumbnail":"https://cdn.dummyjson.com/products/images/home-decoration/Plant%20Pot/thumbnail.png"}],"total":128249.07,"discountedTotal":118740.76,"userId":177,"totalProducts":4,"totalQuantity":13}],"total":50,"skip":0,"limit":30}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000 ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body contains cart array | 1 | 0 | 0 |
| cart list is not empty | 1 | 0 | 0 |
| each cart contains required fields | 1 | 0 | 0 |
| each cart contains fields with correct data types | 1 | 0 | 0 |
| each cart product array is not empty | 1 | 0 | 0 |
| cart products contain required fields | 1 | 0 | 0 |
| response body contains pagination fields | 1 | 0 | 0 |
| carts count does not exceed limit | 1 | 0 | 0 |
| Total | 11 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Cart-By ID
## Overview
This endpoint retrieves a specific shopping cart by its unique ID from the DummyJSON API. It provides detailed information about a single cart including all products, pricing, discounts, and user association.
## Purpose
The primary purpose of this request is to fetch a specific cart's complete details. This is useful for:
- Viewing detailed information about a specific cart
- Retrieving cart data for a particular user session
- Testing cart retrieval by ID functionality
- Validating individual cart data structure and integrity
## Expected Behaviour
When this request is executed successfully with a valid cart ID, it returns a JSON response containing the complete cart object with all associated products, totals, and user information.
## Request Details
**HTTP Method:** `GET`
**Endpoint URL:** `https://dummyjson.com/carts/1`
**Headers:** None required
**Query Parameters:** None
**Path Variables:**
- `cart_id` - The unique identifier of the cart to retrieve
**Authentication:** None required for this endpoint
## Variables Used
| Variable | Description | Example Value |
| --- | --- | --- |
| `baseUrl` | The base URL for the DummyJSON API | `https://dummyjson.com` |
| `cart_id` | The unique identifier of the cart to retrieve | `1` |
Both variables are defined in the active environment. The `cart_id` variable should be set to the ID of the cart you want to retrieve.
## Response Details
The response returns a JSON object with the following structure:
``` json
{
"id": number,
"products": [
{
"id": number,
"title": string,
"price": number,
"quantity": number,
"total": number,
"discountPercentage": number,
"discountedPrice": number
}
],
"total": number,
"discountedTotal": number,
"userId": number,
"totalProducts": number,
"totalQuantity": number
}
```
**Response Fields:**
- `id` (number): Unique identifier for the cart
- `products` (array): Array of product objects in the cart
- `id` (number): Product ID
- `title` (string): Product name
- `price` (number): Product price
- `quantity` (number): Quantity of this product in cart
- `total` (number): Total price before discounts
- `discountedTotal` (number): Total price after applying discounts
- `userId` (number): ID of the user who owns the cart
- `totalProducts` (number): Total number of unique products in the cart
- `totalQuantity` (number): Total quantity of all products in the cart
## Test Validations
This request includes comprehensive automated test validations to ensure the API response meets expected standards. All tests are executed automatically after receiving the response.
### 1\. Status Code Validation
**Test:** Status code is 200
**Validates:** The API successfully processes the request and returns an HTTP 200 OK status code, indicating successful retrieval of the specific cart data.
### 2\. Response Time Performance
**Test:** Response time is less than 2000ms
**Validates:** The API responds within acceptable performance thresholds (under 2 seconds), ensuring good user experience and system responsiveness.
### 3\. Content-Type Header Validation
**Test:** Response Content-type is application/json
**Validates:** The response is returned in JSON format as expected, with the correct Content-Type header set to application/json.
### 4\. Response Body Structure
**Test:** response body is json object
**Validates:** The response body is a valid JSON object, confirming the correct response structure and format.
### 5\. Cart Object Required Fields
**Test:** response body contains required fields
**Validates:** The cart object contains all mandatory fields: `id`, `products`, `total`, `discountedTotal`, `userId`, `totalProducts`, and `totalQuantity`.
### 6\. Cart Object Data Type Validation
**Test:** response body contains required fields with correct data type
**Validates:** All cart fields have the correct data types - `id`, `total`, `discountedTotal`, `userId`, `totalProducts`, and `totalQuantity` are numbers, and `products` is an array.
### 7\. Product Object Required Fields
**Test:** each product in the cart contains required fields
**Validates:** Each product within the cart contains all necessary fields including `id`, `title`, `price`, and `quantity`, ensuring complete product information.
### 8\. Cart ID Match Validation
**Test:** returned cart id matches requested cart id
**Validates:** The cart ID in the response matches the cart ID that was requested in the URL path variable, confirming that the correct cart was retrieved.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8c0f177e-43e4-4ee8-990a-87b6be1afaae |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:49 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 95 |
| x-ratelimit-reset | 1769721597 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"461-cWRWYNLFxfrc4fzJ3x6dAiWgKps" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=8rjqbmaAbDdyKGAdLLUzTWz6w125yj8SPoB2gz2PS%2FUEZKIA%2Bi%2Blvvj2hRkVfGYPxLtIfmlqCFDVzhNU%2Fj8YJzJHrC%2BAGcMaqNaFA%2BlU4GYmM88gAu8zNoc%3D"}]} |
| CF-RAY | 9c5bc51e4b960c5b-AMM |
{"id":1,"products":[{"id":168,"title":"Charger SXT RWD","price":32999.99,"quantity":3,"total":98999.97,"discountPercentage":13.39,"discountedTotal":85743.87,"thumbnail":"https://cdn.dummyjson.com/products/images/vehicle/Charger%20SXT%20RWD/thumbnail.png"},{"id":78,"title":"Apple MacBook Pro 14 Inch Space Grey","price":1999.99,"quantity":2,"total":3999.98,"discountPercentage":18.52,"discountedTotal":3259.18,"thumbnail":"https://cdn.dummyjson.com/products/images/laptops/Apple%20MacBook%20Pro%2014%20Inch%20Space%20Grey/thumbnail.png"},{"id":183,"title":"Green Oval Earring","price":24.99,"quantity":5,"total":124.94999999999999,"discountPercentage":6.28,"discountedTotal":117.1,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-jewellery/Green%20Oval%20Earring/thumbnail.png"},{"id":100,"title":"Apple Airpods","price":129.99,"quantity":5,"total":649.95,"discountPercentage":12.84,"discountedTotal":566.5,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Apple%20Airpods/thumbnail.png"}],"total":103774.85,"discountedTotal":89686.65,"userId":33,"totalProducts":4,"totalQuantity":15}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body contains required fields | 1 | 0 | 0 |
| response body contains required fields with correct data type | 1 | 0 | 0 |
| each product in the cart contains required fields | 1 | 0 | 0 |
| returned cart id matches requested cart id | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Carts-By User ID
## Overview
This endpoint retrieves all shopping carts associated with a specific user from the DummyJSON API. It returns a comprehensive list of carts including product details, pricing information, and cart totals.
## Purpose
To fetch and validate all cart data for a given user ID, ensuring data integrity and proper API response structure. This endpoint is essential for user cart management and order processing workflows.
## Expected Behaviour
When a valid user ID is provided, the API returns all carts belonging to that user with complete cart and product information. The response includes cart totals, discounts, and detailed product information for each item in the carts.
## Request Details
**HTTP Method:** `GET`
**URL:** `https://dummyjson.com/carts/user/6`
**Headers:** None specified
**Query Parameters:** None
**Path Variables:**
- `user_id` - The unique identifier of the user whose carts are being retrieved
**Authentication:** None specified
## Variables Used
- **`baseUrl`** - The base URL for the DummyJSON API endpoint (e.g., https://dummyjson.com)
- **`user_id`** - The unique identifier of the user whose cart information is being requested
## Response Details
The API returns a JSON object with the following structure:
**Response Object:**
- `carts` (array) - Array containing all carts for the specified user
**Each Cart Object Contains:**
- `id` - Unique cart identifier
- `products` - Array of products in the cart
- `total` - Total cart value before discounts
- `discountedTotal` - Total cart value after discounts
- `userId` - User ID associated with the cart
- `totalProducts` - Total number of unique products
- `totalQuantity` - Total quantity of all items
**Each Product Object Contains:**
- `id` - Product identifier
- `quantity` - Quantity of the product in cart
- `price` - Price of the product
## Test Validations
This request includes 7 comprehensive test assertions to ensure API reliability and data integrity:
1. **Status Code Validation** - Verifies the response status code is 200 (OK)
2. **Response Time Performance** - Ensures the response time is less than 2000ms for optimal performance
3. **Content-Type Validation** - Confirms the response Content-Type header is "application/json"
4. **Response Structure Validation** - Verifies the response body contains the "carts" property as an array
5. **User ID Matching** - Validates that all returned carts belong to the requested user ID
6. **Cart Fields Validation** - Ensures each cart contains all required fields: id, products, total, discountedTotal, userId, totalProducts, and totalQuantity
7. **Product Fields Validation** - Confirms each product within the carts contains the required fields: id, quantity, and price
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d0f402c6-e704-43fe-ab2e-906a108bce6f |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:49 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 95 |
| x-ratelimit-reset | 1769721593 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"385-ITR3LUmAAhlOUYo0SP5jQkppvNY" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=MVhGD0jzHcQ3Ng6mKlnm8ndHxjFfHe0%2BufUondQTc85X6Kp%2Bwf%2Fzz99YmYkc5MSE9ZzaHKHXIeKY0uzB6kjB9bu7cYOZscW2uf0%2BksRJUnt%2FX5fRNa2wfuA%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc51fbfd60c5b-AMM |
{"carts":[{"id":24,"products":[{"id":108,"title":"iPhone 12 Silicone Case with MagSafe Plum","price":29.99,"quantity":5,"total":149.95,"discountPercentage":14.68,"discountedTotal":127.94,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/iPhone%2012%20Silicone%20Case%20with%20MagSafe%20Plum/thumbnail.png"},{"id":134,"title":"Vivo S1","price":249.99,"quantity":4,"total":999.96,"discountPercentage":5.64,"discountedTotal":943.56,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Vivo%20S1/thumbnail.png"},{"id":174,"title":"Prada Women Bag","price":599.99,"quantity":1,"total":599.99,"discountPercentage":12.86,"discountedTotal":522.83,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-bags/Prada%20Women%20Bag/thumbnail.png"}],"total":1749.9,"discountedTotal":1594.33,"userId":6,"totalProducts":3,"totalQuantity":10}],"total":1,"skip":0,"limit":1}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body conatins cart array | 1 | 0 | 0 |
| returned carts belong to the requested user id | 1 | 0 | 0 |
| each cart contains required fields | 1 | 0 | 0 |
| cart products contain required fields | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Data Driven Add New Cart (Happy+ Negative)
## Overview
This is a data-driven test request that validates the cart creation functionality of the DummyJSON API. It supports both positive (happy path) and negative test scenarios by accepting expected status codes from a CSV data file, allowing comprehensive testing of the "Add New Cart" endpoint with various input combinations.
## Expected Behaviour
When executed as part of a collection run with a CSV data file:
- **Happy Path (201)**: Successfully creates a new cart with the provided user ID and products, returning complete cart details including calculated totals and discounts
- **Negative Scenarios (4xx)**: Returns appropriate error responses when invalid data is provided (e.g., empty user ID, invalid products)
The request validates the response against the expected status code from the CSV file and performs comprehensive assertions on successful responses.
## Request Details
**Method:** `POST`
**URL:** `https://dummyjson.com/carts/add`
**Headers:**
- Content-Type: application/json (automatically set for raw JSON body)
**Body Structure (raw JSON):**
``` json
{
"userId": 1,
"products": [
{ "id": 1, "quantity": 2 },
{ "id": 2, "quantity": 1 }
]
}
```
The body uses variables that should be populated from a CSV data file during collection runs, allowing different test scenarios to be executed with varying user IDs and product configurations.
## Variables Used
| Variable | Description | Example Value |
| --- | --- | --- |
| `https://dummyjson.com` | Base URL of the DummyJSON API | `https://dummyjson.com` |
| `1` | The ID of the user creating the cart | `1` |
| `[
{ "id": 1, "quantity": 2 },
{ "id": 2, "quantity": 1 }
]` | Array of product objects with id and quantity | `[{"id": 1, "quantity": 2}]` |
**Note:** The CSV data file should also include an `expected_status_add_cart` column to specify the expected HTTP status code for each test scenario.
## Response Details
### Successful Response (Status 201)
**Response Structure:**
``` json
{
"id": number,
"products": array,
"total": number,
"discountedTotal": number,
"userId": number,
"totalProducts": number,
"totalQuantity": number
}
```
**Field Descriptions:**
| Field | Type | Description |
| --- | --- | --- |
| `id` | number | Unique identifier for the created cart |
| `products` | array | Array of product objects added to the cart |
| `total` | number | Total price before discounts |
| `discountedTotal` | number | Total price after applying discounts |
| `userId` | number | ID of the user who owns the cart |
| `totalProducts` | number | Total number of distinct products in the cart |
| `totalQuantity` | number | Total quantity of all products combined |
### Error Response (Status 4xx)
Error responses will vary based on the validation failure but typically include error messages describing what went wrong.
## Test Validations
This request includes comprehensive test validations in the post-response script:
### 1\. **Status Code Validation**
- Validates that the response status code matches the expected value from the CSV data file
- Test: `"Status code matches expected value from CSV"`
### For Successful Responses (Status 201):
### 2\. **Performance Validation**
- Ensures the API responds within acceptable time limits
- Test: `"Response time is less than 2000ms"`
- Assertion: Response time must be below 2000 milliseconds
### 3\. **Content-Type Validation**
- Verifies the response returns JSON format
- Test: `"response Content-Type is application/json"`
- Assertion: Content-Type header includes "application/json"
### 4\. **Response Structure Validation**
- Confirms the response contains all required fields
- Test: `"Response body has the correct structure"`
- Assertion: Response must have keys: `id`, `products`, `total`, `discountedTotal`, `userId`, `totalProducts`, `totalQuantity`
### 5\. **Data Type Validation**
- Validates that each field has the correct data type
- Test: `"Response body fields have the correct data types"`
- Assertions:
- `id` must be a number
- `products` must be an array
- `total` must be a number
- `discountedTotal` must be a number
- `userId` must be a number
- `totalProducts` must be a number
- `totalQuantity` must be a number
### 6\. **Product Array Validation**
- Ensures the products array is not empty
- Test: `"Product array is not empty"`
- Assertion: Products array length must be greater than 0
### 7\. **User ID Validation**
- Verifies the returned cart belongs to the correct user
- Test: `"The returned cart belong to the same requested user id"`
- Assertion: Response `userId` matches the requested `userId` from the request body
---
**Usage Note:** This request is designed to be run with a CSV data file containing multiple test scenarios. Each row in the CSV should include `userId`, `products`, and `expected_status_add_cart` values to enable data-driven testing of both successful and error scenarios.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f8d9ed34-9b88-48a6-a45c-2872da42bd84 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 108 |
{
"userId": 1,
"products": [
{ "id": 1, "quantity": 2 },
{ "id": 2, "quantity": 1 }
]
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:50 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 593 |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 97 |
| x-ratelimit-reset | 1769721597 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"251-7rnCZppe1UXsq28Gq/1qLk29f+w" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=qGb%2FXq%2BapHbhhbnoWMGmwdCmlGWhnUzR6cwnqKpo5BM%2Bo14xeniR0m%2B0Lx1m3BLG3s%2FRYSYjk4WJJHVXsj3k6CtUOARV5J3I2U0N%2F0GOa%2F4y%2Ba%2F1E5mMJcg%3D"}]} |
| CF-RAY | 9c5bc5214bd00c5b-AMM |
{"id":51,"products":[{"id":1,"title":"Essence Mascara Lash Princess","price":9.99,"quantity":2,"total":19.98,"discountPercentage":10.48,"discountedPrice":18,"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/thumbnail.webp"},{"id":2,"title":"Eyeshadow Palette with Mirror","price":19.99,"quantity":1,"total":19.99,"discountPercentage":18.19,"discountedPrice":16,"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/eyeshadow-palette-with-mirror/thumbnail.webp"}],"total":39.97,"discountedTotal":34,"userId":1,"totalProducts":2,"totalQuantity":3}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code matches expected value from CSV | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-Type is application/json | 1 | 0 | 0 |
| Response body has the correct structure | 1 | 0 | 0 |
| Response body fields have the correct data types | 1 | 0 | 0 |
| Product array is not empty | 1 | 0 | 0 |
| returned cart belong to the same requested user id | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Delete Cart
## Overview
This endpoint deletes a specific cart from the system using the cart ID. It permanently removes the cart and returns confirmation of the deletion.
## Expected Behaviour
When this request is executed successfully:
- The specified cart is permanently deleted from the system
- A confirmation response is returned with deletion status
- The response includes a timestamp of when the deletion occurred
- The `isDeleted` flag is set to `true` in the response
## Request Details
**Method:** `DELETE`
**URL:** `https://dummyjson.com/carts/1`
**Headers:** None specified
**Body:** This DELETE request does not require a request body.
## Variables Used
This request uses the following variables:
- **`baseUrl`** - The base URL of the API endpoint
- **`cart_id`** - The unique identifier of the cart to be deleted
## Response Details
The API returns a JSON object with the following structure:
**Expected Response Structure:**
```json
{
"isDeleted": boolean,
"deletedOn": string
}
```
**Response Fields:**
- **`isDeleted`** (boolean) - Indicates whether the cart was successfully deleted. Should be `true` for successful deletion.
- **`deletedOn`** (string) - Timestamp indicating when the cart was deleted.
## Test Validations
This request includes the following automated test assertions:
1. **Status Code Validation** - Verifies that the response status code is 200 (OK)
2. **Response Time Validation** - Ensures the response time is less than 2000ms for performance monitoring
3. **Content-Type Validation** - Confirms the response Content-Type header is `application/json`
4. **Response Structure Validation** - Verifies that the response body is a valid JSON object
5. **isDeleted Property Validation** - Checks that the response contains an `isDeleted` property with boolean data type
6. **deletedOn Property Validation** - Checks that the response contains a `deletedOn` property with string data type
7. **Deletion Confirmation** - Validates that the `isDeleted` field is `true`, confirming successful cart deletion
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bc31bbf3-a0fa-4a4b-8e70-2a61ce5102f9 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:50 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 99 |
| x-ratelimit-reset | 1769721601 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"499-H+gPdpVrZLUCwUvb4b+Oi9imGBw" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=kiAit2tMKdoOdxRUNYz5L91gEDk8rUlG0bnnerD9y1ylhLFjDHHJTwu035Q%2BuTLKlDyVkuxO1TWSwTxPDFN1i%2Fl1red6gfawLBdcJaAvO891Jw5TdlcLWz0%3D"}]} |
| CF-RAY | 9c5bc522bf840c5b-AMM |
{"id":1,"products":[{"id":168,"title":"Charger SXT RWD","price":32999.99,"quantity":3,"total":98999.97,"discountPercentage":13.39,"discountedTotal":85743.87,"thumbnail":"https://cdn.dummyjson.com/products/images/vehicle/Charger%20SXT%20RWD/thumbnail.png"},{"id":78,"title":"Apple MacBook Pro 14 Inch Space Grey","price":1999.99,"quantity":2,"total":3999.98,"discountPercentage":18.52,"discountedTotal":3259.18,"thumbnail":"https://cdn.dummyjson.com/products/images/laptops/Apple%20MacBook%20Pro%2014%20Inch%20Space%20Grey/thumbnail.png"},{"id":183,"title":"Green Oval Earring","price":24.99,"quantity":5,"total":124.94999999999999,"discountPercentage":6.28,"discountedTotal":117.1,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-jewellery/Green%20Oval%20Earring/thumbnail.png"},{"id":100,"title":"Apple Airpods","price":129.99,"quantity":5,"total":649.95,"discountPercentage":12.84,"discountedTotal":566.5,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Apple%20Airpods/thumbnail.png"}],"total":103774.85,"discountedTotal":89686.65,"userId":33,"totalProducts":4,"totalQuantity":15,"isDeleted":true,"deletedOn":"2026-01-29T21:19:50.269Z"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body has is deleted property with correct data type | 1 | 0 | 0 |
| response body has deleted on property with correct data type | 1 | 0 | 0 |
| cart is deleted | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Get Cart with Invalid ID
## Overview
This is a **negative test case** designed to verify that the API correctly handles requests for non-existent cart resources. It tests the error handling behavior when attempting to retrieve a cart using an invalid or non-existent cart ID.
## Expected Behaviour
When this request is executed with an invalid cart ID, the API should:
- Return a **404 Not Found** HTTP status code
- Provide a JSON response containing an error message
- Include a descriptive message indicating that the requested cart was not found
This validates that the API properly handles invalid resource requests and returns appropriate error responses to clients.
## Request Details
**Method:** `GET`
**URL:** `https://dummyjson.com/carts/99999999`
**Headers:** Standard headers (no custom headers required for this request)
**Body:** No request body (GET request)
## Variables Used
This request uses the following variables:
- **`baseUrl`** - The base URL of the API endpoint (e.g., `https://dummyjson.com`)
- **`invalid_id`** - An invalid or non-existent cart ID used to trigger the error response (e.g., `99999`, `invalid`, or any ID that doesn't exist in the system)
These variables should be defined in your environment to ensure the request executes correctly.
## Response Details
**Expected Status Code:** `404 Not Found`
**Response Structure:**
```json
{
"message": "Cart with id '99999999' not found"
}
```
**Response Fields:**
- **`message`** (string) - An error message describing why the request failed. The message should contain text indicating that the cart was "not found".
## Test Validations
This request includes automated test assertions in the post-response script to validate the error handling:
1. **Status Code Validation**
- Verifies that the response status code is `404`
- Ensures the API returns the correct HTTP status for non-existent resources
2. **Error Message Presence**
- Checks that the response body contains a `message` property
- Validates that the API provides error details in the response
3. **Error Message Content**
- Confirms that the error message includes the text "not found" (case-insensitive)
- Ensures the error message is descriptive and meaningful for debugging
All three test validations must pass for this negative test case to be considered successful.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 18ef5901-38d7-4a36-aa5f-c4558a3af2f9 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:50 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 94 |
| x-ratelimit-reset | 1769721597 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"2f-05qhlTLrFNSg7wWDyWTbJENRvKY" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=ZJJoKufMKsnNeacC9wF6wvq1keLMS6WOIHZSnGSs24VAZAdF5LWFoYuE04iC8nc%2BuPn09vidTR0Wz2pH%2F2nntSJipONjBo%2BfOTVJqO%2FMxXkp1Sec%2FA5RJDk%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc5245b9c0c5b-AMM |
{"message":"Cart with id '99999999' not found"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| response body contains error message | 1 | 0 | 0 |
| response body contains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Users-List
## Overview
This request retrieves a paginated list of all users from the DummyJSON API. It returns user information including personal details and account data in a structured JSON format.
## Purpose
This endpoint exists to provide access to the complete user database for testing purposes. It solves the problem of needing to retrieve multiple user records at once, supporting scenarios like:
- Displaying user lists in applications
- Testing pagination functionality
- Validating user data structures
- Performing bulk user operations
- Testing search and filter capabilities
## Expected Behaviour
When executed successfully, this request should:
- Return a 200 OK status code
- Respond within 2000 milliseconds
- Provide a JSON response with a users array containing user objects
- Include pagination metadata (total, skip, limit)
- Return properly structured user objects with all required fields
## Request Details
**Method:** `GET`
**URL:** `https://dummyjson.com/users`
**Headers:** None specified (default headers apply)
**Body:** No request body (GET request)
## Variables Used
- `baseUrl` - The base URL for the DummyJSON API endpoint (defined in the active environment)
## Response Details
The response returns a JSON object with the following structure:
**Root Level Fields:**
- `users` (array) - Array of user objects
- `total` (number) - Total number of users available
- `skip` (number) - Number of users skipped (for pagination)
- `limit` (number) - Maximum number of users returned per request
**User Object Structure:**
Each user object in the `users` array contains:
- `id` (number) - Unique identifier for the user
- `firstName` (string) - User's first name
- `lastName` (string) - User's last name
- `email` (string) - User's email address
- `username` (string) - User's username
**Example Response:**
```json
{
"users": [
{
"id": 1,
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"username": "johndoe"
}
],
"total": 100,
"skip": 0,
"limit": 30
}
```
## Test Validations
This request includes comprehensive automated test validations to ensure API reliability and data integrity:
1. **Status Code Validation**
- Verifies the response status code is 200 (OK)
2. **Performance Validation**
- Ensures response time is less than 2000 milliseconds
3. **Content-Type Validation**
- Confirms the response Content-Type header includes "application/json"
4. **Response Structure Validation**
- Verifies the response body contains a "users" property
- Confirms "users" is an array data type
5. **Data Presence Validation**
- Ensures the users array is not empty (contains at least one user)
6. **Required Fields Validation**
- Checks that each user object contains all required fields: id, firstName, lastName, email, username
7. **Data Type Validation**
- Validates that each user's fields have correct data types:
- `id` must be a number
- `firstName` must be a string
- `lastName` must be a string
- `email` must be a string
- `username` must be a string
8. **Pagination Fields Validation**
- Confirms the response includes pagination metadata: total, skip, limit
9. **Pagination Logic Validation**
- Verifies that the number of users returned does not exceed the specified limit
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a7858659-b8c1-4c9f-885e-1b62b3130f25 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:50 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 95 |
| x-ratelimit-reset | 1769530921 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"a3b1-Wc+qCYPJ2IxKpnt00AlusGYMzCE" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| Age | 190671 |
| Cache-Control | no-store |
| cf-cache-status | HIT |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=kz8mk6vTjB8jy5yj4%2B%2BNYJh2aX8ycG%2BDrvU%2B8LxldfcWoCCHkqJlOsDTK8pRlt6ommfkMhnVF6iVPY%2FAqSk7zY6BbFAVavkzKiuJwXMhlNCUuBaJ5HzAIO4%3D"}]} |
| CF-RAY | 9c5bc525bede0c5b-AMM |
{"users":[{"id":1,"firstName":"Emily","lastName":"Johnson","maidenName":"Smith","age":29,"gender":"female","email":"emily.johnson@x.dummyjson.com","phone":"+81 965-431-3024","username":"emilys","password":"emilyspass","birthDate":"1996-5-30","image":"https://dummyjson.com/icon/emilys/128","bloodGroup":"O-","height":193.24,"weight":63.16,"eyeColor":"Green","hair":{"color":"Brown","type":"Curly"},"ip":"42.48.100.32","address":{"address":"626 Main Street","city":"Phoenix","state":"Mississippi","stateCode":"MS","postalCode":"29112","coordinates":{"lat":-77.16213,"lng":-92.084824},"country":"United States"},"macAddress":"47:fa:41:18:ec:eb","university":"University of Wisconsin--Madison","bank":{"cardExpire":"05/28","cardNumber":"3693233511855044","cardType":"Diners Club International","currency":"GBP","iban":"GB74MH2UZLR9TRPHYNU8F8"},"company":{"department":"Engineering","name":"Dooley, Kozey and Cronin","title":"Sales Manager","address":{"address":"263 Tenth Street","city":"San Francisco","state":"Wisconsin","stateCode":"WI","postalCode":"37657","coordinates":{"lat":71.814525,"lng":-161.150263},"country":"United States"}},"ein":"977-175","ssn":"900-590-289","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"},{"id":2,"firstName":"Michael","lastName":"Williams","maidenName":"","age":36,"gender":"male","email":"michael.williams@x.dummyjson.com","phone":"+49 258-627-6644","username":"michaelw","password":"michaelwpass","birthDate":"1989-8-10","image":"https://dummyjson.com/icon/michaelw/128","bloodGroup":"B+","height":186.22,"weight":76.32,"eyeColor":"Red","hair":{"color":"Green","type":"Straight"},"ip":"12.13.116.142","address":{"address":"385 Fifth Street","city":"Houston","state":"Alabama","stateCode":"AL","postalCode":"38807","coordinates":{"lat":22.815468,"lng":115.608581},"country":"United States"},"macAddress":"79:15:78:99:60:aa","university":"Ohio State University","bank":{"cardExpire":"01/30","cardNumber":"3530633803003665","cardType":"JCB","currency":"USD","iban":"DE26362283149158045865"},"company":{"department":"Support","name":"Spinka - Dickinson","title":"Support Specialist","address":{"address":"395 Main Street","city":"Los Angeles","state":"New Hampshire","stateCode":"NH","postalCode":"73442","coordinates":{"lat":79.098326,"lng":-119.624845},"country":"United States"}},"ein":"912-602","ssn":"108-953-962","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Edge/97.0.1072.76 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"},{"id":3,"firstName":"Sophia","lastName":"Brown","maidenName":"","age":43,"gender":"female","email":"sophia.brown@x.dummyjson.com","phone":"+81 210-652-2785","username":"sophiab","password":"sophiabpass","birthDate":"1982-11-6","image":"https://dummyjson.com/icon/sophiab/128","bloodGroup":"O-","height":177.72,"weight":52.6,"eyeColor":"Hazel","hair":{"color":"White","type":"Wavy"},"ip":"214.225.51.195","address":{"address":"1642 Ninth Street","city":"Washington","state":"Alabama","stateCode":"AL","postalCode":"32822","coordinates":{"lat":45.289366,"lng":46.832664},"country":"United States"},"macAddress":"12:a3:d3:6f:5c:5b","university":"Pepperdine University","bank":{"cardExpire":"10/27","cardNumber":"6011212053392887","cardType":"Discover","currency":"EUR","iban":"DE12191213468288004835"},"company":{"department":"Research and Development","name":"Schiller - Zieme","title":"Accountant","address":{"address":"1896 Washington Street","city":"Dallas","state":"Nevada","stateCode":"NV","postalCode":"88511","coordinates":{"lat":20.086743,"lng":-34.577107},"country":"United States"}},"ein":"963-113","ssn":"638-461-822","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"},{"id":4,"firstName":"James","lastName":"Davis","maidenName":"","age":46,"gender":"male","email":"james.davis@x.dummyjson.com","phone":"+49 614-958-9364","username":"jamesd","password":"jamesdpass","birthDate":"1979-5-4","image":"https://dummyjson.com/icon/jamesd/128","bloodGroup":"AB+","height":193.31,"weight":62.1,"eyeColor":"Amber","hair":{"color":"Blonde","type":"Straight"},"ip":"101.118.131.66","address":{"address":"238 Jefferson Street","city":"Seattle","state":"Pennsylvania","stateCode":"PA","postalCode":"68354","coordinates":{"lat":16.782513,"lng":-139.34723},"country":"United States"},"macAddress":"10:7d:df:1f:97:58","university":"University of Southern California","bank":{"cardExpire":"07/30","cardNumber":"5303440212268149","cardType":"Mastercard","currency":"CAD","iban":"DE01300746880579852937"},"company":{"department":"Support","name":"Pagac and Sons","title":"Research Analyst","address":{"address":"1622 Lincoln Street","city":"Fort Worth","state":"Pennsylvania","stateCode":"PA","postalCode":"27768","coordinates":{"lat":54.91193,"lng":-79.498328},"country":"United States"}},"ein":"904-810","ssn":"116-951-314","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"},{"id":5,"firstName":"Emma","lastName":"Miller","maidenName":"Johnson","age":31,"gender":"female","email":"emma.miller@x.dummyjson.com","phone":"+91 759-776-1614","username":"emmaj","password":"emmajpass","birthDate":"1994-6-13","image":"https://dummyjson.com/icon/emmaj/128","bloodGroup":"AB-","height":192.8,"weight":63.62,"eyeColor":"Green","hair":{"color":"White","type":"Straight"},"ip":"224.126.22.183","address":{"address":"607 Fourth Street","city":"Jacksonville","state":"Colorado","stateCode":"CO","postalCode":"26593","coordinates":{"lat":0.505589,"lng":-157.43281},"country":"United States"},"macAddress":"32:b9:7e:8d:f5:e8","university":"Northeastern University","bank":{"cardExpire":"07/30","cardNumber":"5237188057591130","cardType":"Mastercard","currency":"NZD","iban":"DE19182355652037133559"},"company":{"department":"Human Resources","name":"Graham - Gulgowski","title":"Quality Assurance Engineer","address":{"address":"1460 Sixth Street","city":"San Antonio","state":"Idaho","stateCode":"ID","postalCode":"21965","coordinates":{"lat":44.346545,"lng":-26.944701},"country":"United States"}},"ein":"403-505","ssn":"526-210-885","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"},{"id":6,"firstName":"Olivia","lastName":"Wilson","maidenName":"","age":23,"gender":"female","email":"olivia.wilson@x.dummyjson.com","phone":"+91 607-295-6448","username":"oliviaw","password":"oliviawpass","birthDate":"2002-4-20","image":"https://dummyjson.com/icon/oliviaw/128","bloodGroup":"B+","height":182.61,"weight":58,"eyeColor":"Hazel","hair":{"color":"Gray","type":"Curly"},"ip":"249.178.112.207","address":{"address":"547 First Street","city":"Fort Worth","state":"Tennessee","stateCode":"TN","postalCode":"83843","coordinates":{"lat":75.32627,"lng":-26.15285},"country":"United States"},"macAddress":"9c:7f:ea:34:18:19","university":"University of North Carolina--Chapel Hill","bank":{"cardExpire":"06/30","cardNumber":"376320072452632","cardType":"American Express","currency":"NZD","iban":"DE21153814367894194071"},"company":{"department":"Product Management","name":"Pfannerstill Inc","title":"Research Analyst","address":{"address":"425 Sixth Street","city":"Indianapolis","state":"Oklahoma","stateCode":"OK","postalCode":"74263","coordinates":{"lat":74.986644,"lng":-132.916888},"country":"United States"}},"ein":"921-709","ssn":"836-772-168","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":7,"firstName":"Alexander","lastName":"Jones","maidenName":"","age":39,"gender":"male","email":"alexander.jones@x.dummyjson.com","phone":"+61 260-824-4986","username":"alexanderj","password":"alexanderjpass","birthDate":"1986-10-20","image":"https://dummyjson.com/icon/alexanderj/128","bloodGroup":"AB-","height":153.89,"weight":77.42,"eyeColor":"Blue","hair":{"color":"White","type":"Straight"},"ip":"166.204.84.32","address":{"address":"664 Maple Street","city":"Indianapolis","state":"Delaware","stateCode":"DE","postalCode":"86684","coordinates":{"lat":35.289664,"lng":7.063255},"country":"United States"},"macAddress":"d2:64:58:2d:1c:46","university":"University of Illinois--Urbana-Champaign","bank":{"cardExpire":"12/29","cardNumber":"5189302549548693","cardType":"Mastercard","currency":"PKR","iban":"DE67517655968963441488"},"company":{"department":"Engineering","name":"Dickens - Beahan","title":"Web Developer","address":{"address":"996 Eighth Street","city":"Washington","state":"Kansas","stateCode":"KS","postalCode":"27858","coordinates":{"lat":-75.462366,"lng":-128.025697},"country":"United States"}},"ein":"638-127","ssn":"722-993-925","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":8,"firstName":"Ava","lastName":"Taylor","maidenName":"","age":28,"gender":"female","email":"ava.taylor@x.dummyjson.com","phone":"+1 458-853-7877","username":"avat","password":"avatpass","birthDate":"1997-8-25","image":"https://dummyjson.com/icon/avat/128","bloodGroup":"AB-","height":168.47,"weight":57.08,"eyeColor":"Hazel","hair":{"color":"Red","type":"Kinky"},"ip":"150.73.197.233","address":{"address":"1197 First Street","city":"Fort Worth","state":"Rhode Island","stateCode":"RI","postalCode":"24771","coordinates":{"lat":-81.194833,"lng":-87.948158},"country":"United States"},"macAddress":"8d:2e:c2:d6:e7:a8","university":"University of Wisconsin--Madison","bank":{"cardExpire":"08/30","cardNumber":"5349974103330333","cardType":"Mastercard","currency":"EUR","iban":"FR94ZM2MMGL1EVYQE1ZLCVCFH83"},"company":{"department":"Marketing","name":"Nikolaus Inc","title":"Chief Executive Officer","address":{"address":"930 Lincoln Street","city":"Austin","state":"Colorado","stateCode":"CO","postalCode":"47592","coordinates":{"lat":87.970083,"lng":-42.769351},"country":"United States"}},"ein":"297-762","ssn":"257-419-109","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":9,"firstName":"Ethan","lastName":"Martinez","maidenName":"","age":34,"gender":"male","email":"ethan.martinez@x.dummyjson.com","phone":"+92 933-608-5081","username":"ethanm","password":"ethanmpass","birthDate":"1991-2-12","image":"https://dummyjson.com/icon/ethanm/128","bloodGroup":"AB+","height":159.19,"weight":68.81,"eyeColor":"Hazel","hair":{"color":"Purple","type":"Curly"},"ip":"63.191.127.71","address":{"address":"466 Pine Street","city":"San Antonio","state":"Louisiana","stateCode":"LA","postalCode":"72360","coordinates":{"lat":74.074918,"lng":-25.312703},"country":"United States"},"macAddress":"59:e:9e:e3:29:da","university":"Syracuse University","bank":{"cardExpire":"10/27","cardNumber":"3598603288061479","cardType":"JCB","currency":"GBP","iban":"GB26PND7D83JTW4HL6LZ71"},"company":{"department":"Support","name":"Gorczany - Gottlieb","title":"Legal Counsel","address":{"address":"1597 Oak Street","city":"Chicago","state":"Florida","stateCode":"FL","postalCode":"28100","coordinates":{"lat":-67.45208,"lng":-23.209886},"country":"United States"}},"ein":"790-434","ssn":"569-650-348","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":10,"firstName":"Isabella","lastName":"Anderson","maidenName":"Davis","age":32,"gender":"female","email":"isabella.anderson@x.dummyjson.com","phone":"+49 770-658-4885","username":"isabellad","password":"isabelladpass","birthDate":"1993-6-10","image":"https://dummyjson.com/icon/isabellad/128","bloodGroup":"A-","height":150.56,"weight":50.1,"eyeColor":"Brown","hair":{"color":"Blonde","type":"Curly"},"ip":"114.9.114.205","address":{"address":"1964 Oak Street","city":"New York","state":"Utah","stateCode":"UT","postalCode":"89352","coordinates":{"lat":41.331324,"lng":151.782727},"country":"United States"},"macAddress":"b1:b0:d0:a2:82:80","university":"California Institute of Technology (Caltech)","bank":{"cardExpire":"03/30","cardNumber":"3602093733952858","cardType":"Diners Club International","currency":"USD","iban":"DE12934874962442340025"},"company":{"department":"Marketing","name":"Pollich - Hilpert","title":"Chief Financial Officer","address":{"address":"1029 Adams Street","city":"San Diego","state":"Maryland","stateCode":"MD","postalCode":"63847","coordinates":{"lat":-25.843393,"lng":-62.692681},"country":"United States"}},"ein":"127-297","ssn":"902-438-728","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":11,"firstName":"Liam","lastName":"Garcia","maidenName":"","age":30,"gender":"male","email":"liam.garcia@x.dummyjson.com","phone":"+92 870-217-6201","username":"liamg","password":"liamgpass","birthDate":"1995-6-6","image":"https://dummyjson.com/icon/liamg/128","bloodGroup":"AB-","height":162.32,"weight":93.16,"eyeColor":"Violet","hair":{"color":"Red","type":"Wavy"},"ip":"56.201.85.9","address":{"address":"576 Fifth Street","city":"Denver","state":"South Dakota","stateCode":"SD","postalCode":"57252","coordinates":{"lat":-66.218177,"lng":-145.340165},"country":"United States"},"macAddress":"31:9a:28:8b:99:6c","university":"Ohio State University","bank":{"cardExpire":"12/29","cardNumber":"3614993744940956","cardType":"Diners Club International","currency":"USD","iban":"DE65581882748067758114"},"company":{"department":"Services","name":"Considine - Torp","title":"Web Developer","address":{"address":"27 Cedar Street","city":"Philadelphia","state":"Connecticut","stateCode":"CT","postalCode":"79574","coordinates":{"lat":-81.841588,"lng":31.79423},"country":"United States"}},"ein":"326-604","ssn":"933-784-949","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":12,"firstName":"Mia","lastName":"Rodriguez","maidenName":"","age":25,"gender":"female","email":"mia.rodriguez@x.dummyjson.com","phone":"+49 989-461-8403","username":"miar","password":"miarpass","birthDate":"2000-8-4","image":"https://dummyjson.com/icon/miar/128","bloodGroup":"O-","height":188.08,"weight":56.03,"eyeColor":"Blue","hair":{"color":"Purple","type":"Wavy"},"ip":"11.72.253.90","address":{"address":"1627 Sixth Street","city":"Jacksonville","state":"West Virginia","stateCode":"WV","postalCode":"41810","coordinates":{"lat":24.857497,"lng":-34.865429},"country":"United States"},"macAddress":"53:d7:a4:6:1e:58","university":"William & Mary","bank":{"cardExpire":"02/29","cardNumber":"343932350909214","cardType":"American Express","currency":"CAD","iban":"DE77118774979880310165"},"company":{"department":"Accounting","name":"Miller, Schowalter and Wisozk","title":"Business Analyst","address":{"address":"1039 Washington Street","city":"Philadelphia","state":"New Jersey","stateCode":"NJ","postalCode":"57518","coordinates":{"lat":85.455933,"lng":164.246103},"country":"United States"}},"ein":"754-660","ssn":"749-524-124","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":13,"firstName":"Noah","lastName":"Hernandez","maidenName":"","age":41,"gender":"male","email":"noah.hernandez@x.dummyjson.com","phone":"+49 393-605-6968","username":"noahh","password":"noahhpass","birthDate":"1984-6-5","image":"https://dummyjson.com/icon/noahh/128","bloodGroup":"AB+","height":188.62,"weight":69.49,"eyeColor":"Brown","hair":{"color":"Red","type":"Curly"},"ip":"169.154.126.57","address":{"address":"1413 Maple Street","city":"New York","state":"North Dakota","stateCode":"ND","postalCode":"73696","coordinates":{"lat":-25.0377,"lng":-151.70469},"country":"United States"},"macAddress":"d4:fe:ae:8f:eb:a3","university":"New York University (NYU)","bank":{"cardExpire":"03/30","cardNumber":"6262462852322850","cardType":"UnionPay","currency":"PKR","iban":"DE13437032020581217601"},"company":{"department":"Engineering","name":"Botsford, Marquardt and Roberts","title":"Database Administrator","address":{"address":"62 Third Street","city":"Seattle","state":"Oregon","stateCode":"OR","postalCode":"83474","coordinates":{"lat":19.490447,"lng":-13.173207},"country":"United States"}},"ein":"877-628","ssn":"660-847-389","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":14,"firstName":"Charlotte","lastName":"Lopez","maidenName":"Martinez","age":37,"gender":"female","email":"charlotte.lopez@x.dummyjson.com","phone":"+44 373-953-5028","username":"charlottem","password":"charlottempass","birthDate":"1988-6-8","image":"https://dummyjson.com/icon/charlottem/128","bloodGroup":"AB-","height":178.92,"weight":82.46,"eyeColor":"Brown","hair":{"color":"Gray","type":"Kinky"},"ip":"119.103.95.60","address":{"address":"208 Second Street","city":"Columbus","state":"Ohio","stateCode":"OH","postalCode":"42044","coordinates":{"lat":-44.443762,"lng":-151.420561},"country":"United States"},"macAddress":"f6:ff:37:aa:6c:f1","university":"Northeastern University","bank":{"cardExpire":"12/27","cardNumber":"3634388457177035","cardType":"Diners Club International","currency":"PKR","iban":"DE54092147842698685963"},"company":{"department":"Accounting","name":"Zulauf and Sons","title":"Chief Executive Officer","address":{"address":"569 Jefferson Street","city":"Los Angeles","state":"Montana","stateCode":"MT","postalCode":"17779","coordinates":{"lat":-18.371256,"lng":22.566258},"country":"United States"}},"ein":"364-782","ssn":"255-491-479","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":15,"firstName":"William","lastName":"Gonzalez","maidenName":"","age":33,"gender":"male","email":"william.gonzalez@x.dummyjson.com","phone":"+81 905-252-7319","username":"williamg","password":"williamgpass","birthDate":"1992-3-27","image":"https://dummyjson.com/icon/williamg/128","bloodGroup":"B-","height":173.21,"weight":82.41,"eyeColor":"Hazel","hair":{"color":"Gray","type":"Curly"},"ip":"250.2.241.204","address":{"address":"31 Maple Street","city":"San Jose","state":"Utah","stateCode":"UT","postalCode":"78243","coordinates":{"lat":8.152876,"lng":113.29799},"country":"United States"},"macAddress":"f5:68:28:f9:ec:89","university":"Tufts University","bank":{"cardExpire":"05/30","cardNumber":"6228256225004929","cardType":"UnionPay","currency":"PKR","iban":"DE63711022986572448914"},"company":{"department":"Marketing","name":"Spinka - Dickinson","title":"Software Architect","address":{"address":"1538 Eighth Street","city":"San Jose","state":"Missouri","stateCode":"MO","postalCode":"29673","coordinates":{"lat":24.169361,"lng":-29.395167},"country":"United States"}},"ein":"830-515","ssn":"690-544-755","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":16,"firstName":"Avery","lastName":"Perez","maidenName":"","age":26,"gender":"female","email":"avery.perez@x.dummyjson.com","phone":"+61 731-431-3457","username":"averyp","password":"averyppass","birthDate":"1999-3-10","image":"https://dummyjson.com/icon/averyp/128","bloodGroup":"O-","height":172.68,"weight":93.9,"eyeColor":"Brown","hair":{"color":"Green","type":"Curly"},"ip":"131.217.4.214","address":{"address":"1125 First Street","city":"Columbus","state":"Iowa","stateCode":"IA","postalCode":"30973","coordinates":{"lat":12.789127,"lng":85.792598},"country":"United States"},"macAddress":"b3:ff:f3:c5:37:46","university":"Harvard University","bank":{"cardExpire":"08/29","cardNumber":"378024038311910","cardType":"American Express","currency":"USD","iban":"DE42403186906981858976"},"company":{"department":"Accounting","name":"Herzog Inc","title":"Database Administrator","address":{"address":"183 Maple Street","city":"New York","state":"Rhode Island","stateCode":"RI","postalCode":"45238","coordinates":{"lat":-53.318189,"lng":105.835271},"country":"United States"}},"ein":"348-493","ssn":"679-523-686","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":17,"firstName":"Evelyn","lastName":"Sanchez","maidenName":"","age":38,"gender":"female","email":"evelyn.sanchez@x.dummyjson.com","phone":"+1 623-880-6871","username":"evelyns","password":"evelynspass","birthDate":"1987-10-13","image":"https://dummyjson.com/icon/evelyns/128","bloodGroup":"B+","height":184.08,"weight":83.15,"eyeColor":"Violet","hair":{"color":"Blue","type":"Curly"},"ip":"87.114.135.146","address":{"address":"1170 Lincoln Street","city":"San Diego","state":"Wyoming","stateCode":"WY","postalCode":"43423","coordinates":{"lat":-83.31484,"lng":11.768071},"country":"United States"},"macAddress":"f8:e5:bd:43:bc:d8","university":"Washington University in St. Louis","bank":{"cardExpire":"01/29","cardNumber":"3514443781649095","cardType":"JCB","currency":"GBP","iban":"GB74239MLVNQ0UB9ANTFRM"},"company":{"department":"Support","name":"Predovic - Johns","title":"Chief Financial Officer","address":{"address":"1802 Ninth Street","city":"San Diego","state":"Minnesota","stateCode":"MN","postalCode":"89416","coordinates":{"lat":29.034592,"lng":-78.004598},"country":"United States"}},"ein":"604-817","ssn":"689-332-644","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":18,"firstName":"Logan","lastName":"Torres","maidenName":"","age":32,"gender":"male","email":"logan.torres@x.dummyjson.com","phone":"+81 507-434-8733","username":"logant","password":"logantpass","birthDate":"1993-10-26","image":"https://dummyjson.com/icon/logant/128","bloodGroup":"A+","height":190.04,"weight":72.43,"eyeColor":"Green","hair":{"color":"Green","type":"Curly"},"ip":"155.98.15.162","address":{"address":"907 Seventh Street","city":"Columbus","state":"Arkansas","stateCode":"AR","postalCode":"78805","coordinates":{"lat":-64.846516,"lng":174.775744},"country":"United States"},"macAddress":"40:d:5c:1:7d:bf","university":"University of Illinois--Urbana-Champaign","bank":{"cardExpire":"04/30","cardNumber":"6258651210557142","cardType":"UnionPay","currency":"EUR","iban":"ES1171429445321693077621"},"company":{"department":"Training","name":"Jast - Nader","title":"Data Analyst","address":{"address":"947 Main Street","city":"Denver","state":"Minnesota","stateCode":"MN","postalCode":"71896","coordinates":{"lat":-24.654063,"lng":-147.255268},"country":"United States"}},"ein":"576-218","ssn":"806-639-934","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":19,"firstName":"Abigail","lastName":"Rivera","maidenName":"","age":29,"gender":"female","email":"abigail.rivera@x.dummyjson.com","phone":"+91 228-363-7806","username":"abigailr","password":"abigailrpass","birthDate":"1996-10-11","image":"https://dummyjson.com/icon/abigailr/128","bloodGroup":"B+","height":186.39,"weight":74.61,"eyeColor":"Violet","hair":{"color":"Blue","type":"Kinky"},"ip":"19.183.240.94","address":{"address":"996 Oak Street","city":"Chicago","state":"New Mexico","stateCode":"NM","postalCode":"11407","coordinates":{"lat":44.321308,"lng":-3.723903},"country":"United States"},"macAddress":"1d:a6:58:2a:e5:e4","university":"California Institute of Technology (Caltech)","bank":{"cardExpire":"01/27","cardNumber":"6011399019022417","cardType":"Discover","currency":"EUR","iban":"IT11QP2B5J81QM1FBX029VI5DD68O"},"company":{"department":"Human Resources","name":"Prohaska - Thiel","title":"Business Analyst","address":{"address":"1402 Adams Street","city":"Austin","state":"Wisconsin","stateCode":"WI","postalCode":"51456","coordinates":{"lat":25.672938,"lng":-76.54967},"country":"United States"}},"ein":"173-637","ssn":"655-823-929","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Edge/97.0.1072.76 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":20,"firstName":"Jackson","lastName":"Evans","maidenName":"","age":35,"gender":"male","email":"jackson.evans@x.dummyjson.com","phone":"+44 468-628-6686","username":"jacksone","password":"jacksonepass","birthDate":"1990-11-30","image":"https://dummyjson.com/icon/jacksone/128","bloodGroup":"O-","height":162.57,"weight":74.37,"eyeColor":"Green","hair":{"color":"Red","type":"Straight"},"ip":"221.127.144.198","address":{"address":"1873 Main Street","city":"New York","state":"Arkansas","stateCode":"AR","postalCode":"26600","coordinates":{"lat":34.722451,"lng":63.448927},"country":"United States"},"macAddress":"81:14:1:97:88:85","university":"Ohio State University","bank":{"cardExpire":"07/30","cardNumber":"376760688512826","cardType":"American Express","currency":"GBP","iban":"GB27CM0H0MNPXSPDGA0A1O"},"company":{"department":"Legal","name":"Kuhlman LLC","title":"Web Developer","address":{"address":"1706 First Street","city":"Chicago","state":"Hawaii","stateCode":"HI","postalCode":"34725","coordinates":{"lat":-80.416937,"lng":-83.224516},"country":"United States"}},"ein":"843-260","ssn":"248-787-886","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":21,"firstName":"Madison","lastName":"Collins","maidenName":"","age":27,"gender":"female","email":"madison.collins@x.dummyjson.com","phone":"+81 259-957-5711","username":"madisonc","password":"madisoncpass","birthDate":"1998-3-7","image":"https://dummyjson.com/icon/madisonc/128","bloodGroup":"B-","height":189.28,"weight":56.96,"eyeColor":"Red","hair":{"color":"Gray","type":"Curly"},"ip":"85.34.1.204","address":{"address":"1892 Lincoln Street","city":"Philadelphia","state":"New Jersey","stateCode":"NJ","postalCode":"62091","coordinates":{"lat":52.993694,"lng":160.486892},"country":"United States"},"macAddress":"13:b0:d0:23:4d:26","university":"University of Pennsylvania","bank":{"cardExpire":"09/27","cardNumber":"5551259848327064","cardType":"Mastercard","currency":"EUR","iban":"ES3893300143587765232049"},"company":{"department":"Engineering","name":"Mayer - Smitham","title":"Chief Technology Officer","address":{"address":"1438 Main Street","city":"San Diego","state":"Delaware","stateCode":"DE","postalCode":"63144","coordinates":{"lat":1.629613,"lng":23.232982},"country":"United States"}},"ein":"716-166","ssn":"457-258-950","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":22,"firstName":"Elijah","lastName":"Stewart","maidenName":"","age":34,"gender":"male","email":"elijah.stewart@x.dummyjson.com","phone":"+44 468-357-7872","username":"elijahs","password":"elijahspass","birthDate":"1991-10-22","image":"https://dummyjson.com/icon/elijahs/128","bloodGroup":"A-","height":195.33,"weight":81.64,"eyeColor":"Blue","hair":{"color":"Purple","type":"Straight"},"ip":"23.87.135.62","address":{"address":"1701 Eighth Street","city":"Columbus","state":"Illinois","stateCode":"IL","postalCode":"31585","coordinates":{"lat":-54.833799,"lng":-174.504027},"country":"United States"},"macAddress":"75:17:c6:35:fc:6d","university":"Georgetown University","bank":{"cardExpire":"05/28","cardNumber":"3648138556543460","cardType":"Diners Club International","currency":"EUR","iban":"DE82018985741195770313"},"company":{"department":"Legal","name":"Langworth Group","title":"Business Analyst","address":{"address":"155 Ninth Street","city":"Washington","state":"South Dakota","stateCode":"SD","postalCode":"19039","coordinates":{"lat":61.279254,"lng":-12.607767},"country":"United States"}},"ein":"520-394","ssn":"287-380-801","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":23,"firstName":"Chloe","lastName":"Morales","maidenName":"","age":40,"gender":"female","email":"chloe.morales@x.dummyjson.com","phone":"+92 468-541-7133","username":"chloem","password":"chloempass","birthDate":"1985-4-21","image":"https://dummyjson.com/icon/chloem/128","bloodGroup":"O+","height":185.07,"weight":63.97,"eyeColor":"Brown","hair":{"color":"Red","type":"Kinky"},"ip":"66.78.20.21","address":{"address":"401 Fourth Street","city":"Dallas","state":"New Jersey","stateCode":"NJ","postalCode":"54972","coordinates":{"lat":-30.190759,"lng":-58.705979},"country":"United States"},"macAddress":"fc:f:29:e1:37:b8","university":"Syracuse University","bank":{"cardExpire":"09/30","cardNumber":"347036238254235","cardType":"American Express","currency":"CNY","iban":"DE77762461851744284392"},"company":{"department":"Sales","name":"Grady LLC","title":"Database Administrator","address":{"address":"269 Third Street","city":"Houston","state":"North Carolina","stateCode":"NC","postalCode":"10385","coordinates":{"lat":40.098115,"lng":-1.762972},"country":"United States"}},"ein":"913-597","ssn":"938-883-163","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":24,"firstName":"Mateo","lastName":"Nguyen","maidenName":"","age":31,"gender":"male","email":"mateo.nguyen@x.dummyjson.com","phone":"+1 341-597-6694","username":"mateon","password":"mateonpass","birthDate":"1994-6-2","image":"https://dummyjson.com/icon/mateon/128","bloodGroup":"O+","height":174.29,"weight":59.98,"eyeColor":"Red","hair":{"color":"Purple","type":"Wavy"},"ip":"192.57.144.7","address":{"address":"1578 Fourth Street","city":"Columbus","state":"Missouri","stateCode":"MO","postalCode":"20673","coordinates":{"lat":-32.828675,"lng":-82.557354},"country":"United States"},"macAddress":"a7:26:10:7a:36:29","university":"Columbia University","bank":{"cardExpire":"12/29","cardNumber":"4021840414995098","cardType":"Visa","currency":"CAD","iban":"DE43275561962007561223"},"company":{"department":"Accounting","name":"Spinka LLC","title":"Business Analyst","address":{"address":"1967 Jefferson Street","city":"Dallas","state":"Louisiana","stateCode":"LA","postalCode":"78527","coordinates":{"lat":75.982676,"lng":164.459743},"country":"United States"}},"ein":"229-249","ssn":"416-877-230","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":25,"firstName":"Harper","lastName":"Kelly","maidenName":"Evans","age":28,"gender":"female","email":"harper.kelly@x.dummyjson.com","phone":"+92 518-863-2863","username":"harpere","password":"harperepass","birthDate":"1997-3-3","image":"https://dummyjson.com/icon/harpere/128","bloodGroup":"AB-","height":184.32,"weight":81.69,"eyeColor":"Amber","hair":{"color":"Red","type":"Curly"},"ip":"174.111.61.162","address":{"address":"1591 Adams Street","city":"Philadelphia","state":"New York","stateCode":"NY","postalCode":"69521","coordinates":{"lat":-26.832913,"lng":-75.445017},"country":"United States"},"macAddress":"b:ff:33:67:94:e4","university":"Boston College","bank":{"cardExpire":"06/27","cardNumber":"4488823564436432","cardType":"Visa","currency":"EUR","iban":"ES5874149276753342261515"},"company":{"department":"Legal","name":"Leffler, Rolfson and Becker","title":"Business Development Manager","address":{"address":"16 Maple Street","city":"Austin","state":"North Carolina","stateCode":"NC","postalCode":"68274","coordinates":{"lat":-15.423746,"lng":149.298887},"country":"United States"}},"ein":"592-557","ssn":"209-544-548","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":26,"firstName":"Evelyn","lastName":"Gonzalez","maidenName":"","age":36,"gender":"female","email":"evelyn.gonzalez@x.dummyjson.com","phone":"+61 708-508-4638","username":"evelyng","password":"evelyngpass","birthDate":"1989-2-5","image":"https://dummyjson.com/icon/evelyng/128","bloodGroup":"O+","height":168.94,"weight":58.47,"eyeColor":"Red","hair":{"color":"Black","type":"Wavy"},"ip":"42.52.74.232","address":{"address":"1065 Lincoln Street","city":"Dallas","state":"Maine","stateCode":"ME","postalCode":"84898","coordinates":{"lat":67.768359,"lng":71.268643},"country":"United States"},"macAddress":"89:5e:5a:2a:72:42","university":"Washington University in St. Louis","bank":{"cardExpire":"08/28","cardNumber":"6011735364912274","cardType":"Discover","currency":"CAD","iban":"DE27147353096476220032"},"company":{"department":"Accounting","name":"Tromp, Gaylord and Weber","title":"Project Manager","address":{"address":"584 Ninth Street","city":"Jacksonville","state":"Wisconsin","stateCode":"WI","postalCode":"45633","coordinates":{"lat":26.014021,"lng":40.572436},"country":"United States"}},"ein":"569-275","ssn":"487-680-127","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":27,"firstName":"Daniel","lastName":"Cook","maidenName":"","age":42,"gender":"male","email":"daniel.cook@x.dummyjson.com","phone":"+44 254-761-6843","username":"danielc","password":"danielcpass","birthDate":"1983-12-25","image":"https://dummyjson.com/icon/danielc/128","bloodGroup":"AB+","height":186.21,"weight":83.72,"eyeColor":"Brown","hair":{"color":"Blonde","type":"Curly"},"ip":"1.61.73.142","address":{"address":"1163 Pine Street","city":"Los Angeles","state":"Nevada","stateCode":"NV","postalCode":"58781","coordinates":{"lat":-3.456681,"lng":-134.937482},"country":"United States"},"macAddress":"6e:73:dc:3a:85:10","university":"Columbia University","bank":{"cardExpire":"05/29","cardNumber":"5485409595328150","cardType":"Mastercard","currency":"NZD","iban":"DE71341603969952506034"},"company":{"department":"Support","name":"Morissette, Baumbach and Auer","title":"Legal Counsel","address":{"address":"938 Fifth Street","city":"San Francisco","state":"South Dakota","stateCode":"SD","postalCode":"45305","coordinates":{"lat":21.323588,"lng":-83.531427},"country":"United States"}},"ein":"585-905","ssn":"645-515-583","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":28,"firstName":"Lily","lastName":"Lee","maidenName":"Brown","age":30,"gender":"female","email":"lily.lee@x.dummyjson.com","phone":"+1 808-757-9867","username":"lilyb","password":"lilybpass","birthDate":"1995-12-3","image":"https://dummyjson.com/icon/lilyb/128","bloodGroup":"AB-","height":181.42,"weight":51.49,"eyeColor":"Gray","hair":{"color":"Purple","type":"Straight"},"ip":"67.184.255.96","address":{"address":"1946 Oak Street","city":"Phoenix","state":"Massachusetts","stateCode":"MA","postalCode":"41540","coordinates":{"lat":-9.87059,"lng":-72.336845},"country":"United States"},"macAddress":"18:b6:c7:a:50:3f","university":"Johns Hopkins University","bank":{"cardExpire":"12/28","cardNumber":"5551782139834613","cardType":"Mastercard","currency":"CAD","iban":"DE49484285539189712621"},"company":{"department":"Product Management","name":"Cremin Inc","title":"Quality Assurance Engineer","address":{"address":"1735 Cedar Street","city":"Phoenix","state":"Wyoming","stateCode":"WY","postalCode":"85797","coordinates":{"lat":72.231441,"lng":-158.147245},"country":"United States"}},"ein":"229-776","ssn":"358-185-671","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Edge/97.0.1072.76 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":29,"firstName":"Henry","lastName":"Hill","maidenName":"","age":39,"gender":"male","email":"henry.hill@x.dummyjson.com","phone":"+1 240-833-4680","username":"henryh","password":"henryhpass","birthDate":"1986-8-19","image":"https://dummyjson.com/icon/henryh/128","bloodGroup":"O-","height":180.25,"weight":95.84,"eyeColor":"Gray","hair":{"color":"Black","type":"Straight"},"ip":"194.43.55.202","address":{"address":"1837 Maple Street","city":"Indianapolis","state":"Delaware","stateCode":"DE","postalCode":"81783","coordinates":{"lat":35.498256,"lng":154.088476},"country":"United States"},"macAddress":"fa:c3:1b:21:5f:44","university":"University of Illinois--Urbana-Champaign","bank":{"cardExpire":"11/29","cardNumber":"3625097026040498","cardType":"Diners Club International","currency":"EUR","iban":"DE08820336197191865470"},"company":{"department":"Services","name":"Gerlach, Funk and Schoen","title":"Sales Manager","address":{"address":"1651 Lincoln Street","city":"San Francisco","state":"West Virginia","stateCode":"WV","postalCode":"61805","coordinates":{"lat":-59.936335,"lng":-12.405368},"country":"United States"}},"ein":"118-957","ssn":"925-686-100","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":30,"firstName":"Addison","lastName":"Wright","maidenName":"","age":33,"gender":"female","email":"addison.wright@x.dummyjson.com","phone":"+1 514-384-3300","username":"addisonw","password":"addisonwpass","birthDate":"1992-1-3","image":"https://dummyjson.com/icon/addisonw/128","bloodGroup":"B+","height":179.32,"weight":76.93,"eyeColor":"Brown","hair":{"color":"Blonde","type":"Straight"},"ip":"11.35.69.81","address":{"address":"568 Tenth Street","city":"San Francisco","state":"Montana","stateCode":"MT","postalCode":"54698","coordinates":{"lat":20.946052,"lng":100.228822},"country":"United States"},"macAddress":"fb:0:94:21:16:c","university":"Syracuse University","bank":{"cardExpire":"06/28","cardNumber":"5274971895809762","cardType":"Mastercard","currency":"PKR","iban":"DE91480955939051635497"},"company":{"department":"Services","name":"Kreiger Inc","title":"Human Resources Manager","address":{"address":"1173 Eighth Street","city":"San Diego","state":"Michigan","stateCode":"MI","postalCode":"85777","coordinates":{"lat":65.324413,"lng":87.142893},"country":"United States"}},"ein":"415-286","ssn":"804-492-390","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"}],"total":208,"skip":0,"limit":30}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000 ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body contains users array | 1 | 0 | 0 |
| users array is not empty | 1 | 0 | 0 |
| each user has required fields | 1 | 0 | 0 |
| each user has required fields with correct data types | 1 | 0 | 0 |
| response body contains pagination fields | 1 | 0 | 0 |
| users count does not exceed limit | 1 | 0 | 0 |
| Total | 9 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get User-By ID
## Overview
This request retrieves detailed information about a specific user from the DummyJSON API by their unique user ID.
## Purpose
This endpoint exists to fetch individual user profile data when you need to access or display information about a specific user. It solves the problem of retrieving complete user details without having to fetch all users and filter through them.
## Expected Behaviour
When executed successfully, this request will:
- Return a single user object matching the provided user ID
- Respond with HTTP status code 200
- Complete within 2000 milliseconds
- Return data in JSON format
## Request Details
**Method:** `GET`
**URL:** `https://dummyjson.com/users/6`
**Headers:** None specified
**Body:** No request body (GET request)
## Variables Used
- **`baseUrl`** - The base URL for the DummyJSON API endpoint
- **`user_id`** - The unique identifier of the user to retrieve
## Response Details
The response returns a user object with the following structure:
```json
{
"id": number,
"firstName": string,
"lastName": string,
"email": string,
"username": string
}
```
**Required Fields:**
- `id` (number) - Unique user identifier
- `firstName` (string) - User's first name
- `lastName` (string) - User's last name
- `email` (string) - User's email address
- `username` (string) - User's username
## Test Validations
This request includes the following automated test assertions:
1. **Status Code Validation** - Verifies the response status code is 200 (OK)
2. **Performance Check** - Ensures the response time is less than 2000ms
3. **Content-Type Validation** - Confirms the response Content-Type header is `application/json`
4. **Response Structure** - Validates that the response body is a JSON object
5. **Required Fields Presence** - Checks that all required fields (id, firstName, lastName, email, username) are present in the response
6. **Data Type Validation** - Verifies correct data types for all required fields:
- `id` must be a number
- `firstName` must be a string
- `lastName` must be a string
- `email` must be a string
- `username` must be a string
7. **ID Match Validation** - Confirms that the returned user ID matches the requested user ID from the environment variable
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 048dede0-3c8e-472a-80a8-691e04913534 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:50 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 93 |
| x-ratelimit-reset | 1769721597 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"58c-f3JuK/tymf0Ng/VMSstXj5q9u+M" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=CUyCasIwKw1uYcK1NE1f8ZlqGiWc1lRtHoazen96X4oXFp%2B7h3dtOrLjyoCH7PcZmep5twIzkjzubd4z%2B5292vaWABIdijlZN3E8GknNk2Ve%2FwjKHrRcNCM%3D"}]} |
| CF-RAY | 9c5bc526a9490c5b-AMM |
{"id":6,"firstName":"Olivia","lastName":"Wilson","maidenName":"","age":23,"gender":"female","email":"olivia.wilson@x.dummyjson.com","phone":"+91 607-295-6448","username":"oliviaw","password":"oliviawpass","birthDate":"2002-4-20","image":"https://dummyjson.com/icon/oliviaw/128","bloodGroup":"B+","height":182.61,"weight":58,"eyeColor":"Hazel","hair":{"color":"Gray","type":"Curly"},"ip":"249.178.112.207","address":{"address":"547 First Street","city":"Fort Worth","state":"Tennessee","stateCode":"TN","postalCode":"83843","coordinates":{"lat":75.32627,"lng":-26.15285},"country":"United States"},"macAddress":"9c:7f:ea:34:18:19","university":"University of North Carolina--Chapel Hill","bank":{"cardExpire":"06/30","cardNumber":"376320072452632","cardType":"American Express","currency":"NZD","iban":"DE21153814367894194071"},"company":{"department":"Product Management","name":"Pfannerstill Inc","title":"Research Analyst","address":{"address":"425 Sixth Street","city":"Indianapolis","state":"Oklahoma","stateCode":"OK","postalCode":"74263","coordinates":{"lat":74.986644,"lng":-132.916888},"country":"United States"}},"ein":"921-709","ssn":"836-772-168","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body contains required fields | 1 | 0 | 0 |
| required fields have correct data types | 1 | 0 | 0 |
| returned user id matches requested user id | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Search User-By Query
## Overview
This request searches for users in the system based on a query parameter. It allows you to find users by matching the search term against user attributes like first name, last name, or username.
## Purpose
This endpoint exists to enable user search functionality within the application. It solves the problem of quickly locating specific users from a potentially large user database by providing a flexible search mechanism. This is essential for features like user lookup, admin panels, or any interface requiring user selection or filtering.
## Expected Behaviour
When executed with a valid search query, the request should:
- Return a 200 OK status code
- Respond within 2000 milliseconds
- Return a JSON response containing a `users` array
- Include at least one user object in the array if matches are found
- Each user object should contain complete user information matching the search criteria
## Request Details
**Method:** `GET`
**URL:** `https://dummyjson.com/users/search?q=Emily`
**Query Parameters:**
- `q` - The search query string used to find matching users
**Headers:** Standard headers for GET requests
**Body:** No request body (GET request)
## Variables Used
- **baseUrl** - The base URL of the API endpoint (e.g., https://dummyjson.com)
- **user_query** - The search term used to query users (e.g., a name or username fragment)
## Response Details
**Expected Response Structure:**
```json
{
"users": [
{
"id": number,
"firstName": string,
"lastName": string,
"email": string,
"username": string,
// ... additional user fields
}
]
}
```
**Response Fields:**
- `users` - Array containing user objects that match the search query
- `id` - Unique numeric identifier for the user
- `firstName` - User's first name (string)
- `lastName` - User's last name (string)
- `email` - User's email address (string)
- `username` - User's username (string)
The search query is matched against user attributes, and all matching users are returned in the response array.
## Test Validations
This request includes comprehensive automated test validations:
1. **Status Code Validation** - Verifies the response status code is 200 (OK)
2. **Performance Validation** - Ensures the response time is less than 2000 milliseconds
3. **Content-Type Validation** - Confirms the response Content-Type header is `application/json`
4. **Response Structure Validation** - Checks that the response body contains a `users` property that is an array
5. **Non-Empty Results Validation** - Verifies that the search returns at least one user (users array is not empty for valid searches)
6. **Required Fields Validation** - Ensures each user object in the response contains all required fields: `id`, `firstName`, `lastName`, `email`, and `username`
7. **Data Type Validation** - Validates that each required field has the correct data type:
- `id` must be a number
- `firstName` must be a string
- `lastName` must be a string
- `email` must be a string
- `username` must be a string
8. **Search Query Reflection Validation** - Confirms that the search query is reflected in the response by checking if the query term appears in the user's firstName or lastName (case-insensitive matching)
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c980245a-66e5-42e1-96b1-33cc8759377d |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:51 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 94 |
| x-ratelimit-reset | 1769721593 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"b33-ZT0uf5XOK4s2qOhUtFgDIwmO9nw" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=1N4m3xiIa7jQ6aLypJC2Xy5%2BiDxrj27C2MZcim7uX65iWqTRCPwCyvs2G43hj3LJE%2FmplKX1BjxqYaVKyvl%2FB4PHYboci0Z%2B6UhTuPD3rPGtf02K8urRb%2B4%3D"}]} |
| CF-RAY | 9c5bc5287db30c5b-AMM |
{"users":[{"id":1,"firstName":"Emily","lastName":"Johnson","maidenName":"Smith","age":29,"gender":"female","email":"emily.johnson@x.dummyjson.com","phone":"+81 965-431-3024","username":"emilys","password":"emilyspass","birthDate":"1996-5-30","image":"https://dummyjson.com/icon/emilys/128","bloodGroup":"O-","height":193.24,"weight":63.16,"eyeColor":"Green","hair":{"color":"Brown","type":"Curly"},"ip":"42.48.100.32","address":{"address":"626 Main Street","city":"Phoenix","state":"Mississippi","stateCode":"MS","postalCode":"29112","coordinates":{"lat":-77.16213,"lng":-92.084824},"country":"United States"},"macAddress":"47:fa:41:18:ec:eb","university":"University of Wisconsin--Madison","bank":{"cardExpire":"05/28","cardNumber":"3693233511855044","cardType":"Diners Club International","currency":"GBP","iban":"GB74MH2UZLR9TRPHYNU8F8"},"company":{"department":"Engineering","name":"Dooley, Kozey and Cronin","title":"Sales Manager","address":{"address":"263 Tenth Street","city":"San Francisco","state":"Wisconsin","stateCode":"WI","postalCode":"37657","coordinates":{"lat":71.814525,"lng":-161.150263},"country":"United States"}},"ein":"977-175","ssn":"900-590-289","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"},{"id":103,"firstName":"Emily","lastName":"Brown","maidenName":"Taylor","age":43,"gender":"female","email":"emily.brown@x.dummyjson.com","phone":"+61 875-999-8871","username":"emilyt","password":"emilytpass","birthDate":"1982-12-5","image":"https://dummyjson.com/icon/emilyt/128","bloodGroup":"AB-","height":181.96,"weight":89.65,"eyeColor":"Blue","hair":{"color":"Brown","type":"Kinky"},"ip":"41.156.197.109","address":{"address":"1962 Fourth Street","city":"Houston","state":"Hawaii","stateCode":"HI","postalCode":"67104","coordinates":{"lat":-64.336051,"lng":135.876737},"country":"United States"},"macAddress":"3b:9b:ee:cf:1f:de","university":"Georgetown University","bank":{"cardExpire":"09/30","cardNumber":"374970244492890","cardType":"American Express","currency":"INR","iban":"DE06646067555223276327"},"company":{"department":"Research and Development","name":"Pfannerstill Inc","title":"Data Analyst","address":{"address":"1998 Main Street","city":"Indianapolis","state":"Arizona","stateCode":"AZ","postalCode":"57190","coordinates":{"lat":-83.995771,"lng":127.669213},"country":"United States"}},"ein":"844-425","ssn":"119-906-830","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"}],"total":2,"skip":0,"limit":2}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000 ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body contains users array | 1 | 0 | 0 |
| search return at least one product | 1 | 0 | 0 |
| each user has required fields | 1 | 0 | 0 |
| required fields have correct data types | 1 | 0 | 0 |
| search query is reflected in the response | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Add New User
## Overview
This request creates a new user in the system by submitting user information to the API endpoint.
## Purpose
This endpoint exists to allow the creation of new user records in the database. It solves the problem of programmatically adding users to the system with their basic information including first name, last name, and age.
## Expected Behaviour
When executed with valid user data, this request will:
- Submit the user information to the server
- Generate a unique ID for the new user
- Return the complete user object including the generated ID and all submitted fields
- Complete the operation within 2 seconds
- Return a 201 Created status code indicating successful user creation
## Request Details
**Method:** `POST`
**URL:** `https://dummyjson.com/users/add`
**Headers:**
- Content-Type: application/json
**Request Body Structure:**
```json
{
"firstName": "Rio",
"lastName": "Brown",
"age": 23
}
```
The request body accepts a JSON object with the following fields:
- `firstName` (string): The user's first name
- `lastName` (string): The user's last name
- `age` (number): The user's age
## Variables Used
- **baseUrl**: The base URL for the API endpoint. This variable should be configured in the active environment to point to the appropriate API server.
## Response Details
**Expected Status Code:** `201 Created`
**Response Structure:**
The API returns a JSON object containing the newly created user with all submitted fields plus a generated ID:
```json
{
"id": 1,
"firstName": "Rio",
"lastName": "Brown",
"age": 23
}
```
**Response Fields:**
- `id` (number): Auto-generated unique identifier for the user
- `firstName` (string): The user's first name (as submitted)
- `lastName` (string): The user's last name (as submitted)
- `age` (number): The user's age (as submitted)
**Response Headers:**
- Content-Type: application/json
## Test Validations
This request includes comprehensive automated test validations in the post-response script:
1. **Status Code Validation**: Verifies that the response status code is 201 (Created)
2. **Performance Validation**: Ensures the response time is less than 2000ms (2 seconds)
3. **Content-Type Validation**: Confirms the response Content-Type header includes "application/json"
4. **Response Structure Validation**: Checks that the response body is a valid JSON object
5. **ID Field Validation**: Verifies that the response body contains an "id" property and that it is of number data type
6. **Request Body Keys Validation**: Ensures all keys from the request body (firstName, lastName, age) are present in the returned user object
7. **Request Body Values Validation**: Confirms that all values from the request body match exactly with the corresponding values in the returned user object
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0c9242db-68c6-41c0-9119-f8fad1adc445 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 67 |
{
"firstName":"Rio",
"lastName":"Brown",
"age":23
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:51 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 765 |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 92 |
| x-ratelimit-reset | 1769721597 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"2fd-nFcmD7kMdMOb/8rPqNwVqPg5Fk4" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=DVytUw82pB7PgRbwx1PizlGQjPXqDD6doxuI%2FeV7HAVEm5otcj4EDvZLX8aOyLlAv%2Fj6GoPUlwBPc3%2FmE5L0PyzPoqtTwGYeUov%2FhOM9W2y6s9Bf5Hum764%3D"}]} |
| CF-RAY | 9c5bc529f9830c5b-AMM |
{"id":209,"firstName":"Rio","lastName":"Brown","maidenName":"","age":23,"gender":"","email":"","phone":"","username":"","password":"","birthDate":"","image":"","bloodGroup":"","height":null,"weight":null,"eyeColor":"","hair":{"color":"","type":""},"ip":"","address":{"address":"","city":"","state":"","stateCode":"","postalCode":"","coordinates":{"lat":null,"lng":null},"country":""},"macAddress":"","university":"","bank":{"cardExpire":"","cardNumber":"","cardType":"","currency":"","iban":""},"company":{"department":"","name":"","title":"","address":{"address":"","city":"","state":"","stateCode":"","postalCode":"","coordinates":{"lat":null,"lng":null},"country":""}},"ein":"","ssn":"","userAgent":"","crypto":{"coin":"","wallet":"","network":""},"role":"user"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 201 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-Type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body has id key and is number data type | 1 | 0 | 0 |
| returned user contains all request body keys | 1 | 0 | 0 |
| returned user contains all request body values | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Update User
## Overview
This request updates an existing user's information in the system by sending a PATCH request with the modified fields.
## Purpose
This endpoint allows you to modify specific attributes of an existing user without affecting other user data. It's designed for partial updates, making it efficient when you only need to change certain fields like name or age rather than replacing the entire user object.
## Expected Behaviour
When executed successfully, this request will:
- Update only the specified fields (lastName and age) for the user identified by `user_id`
- Return the complete updated user object with all modified fields reflected
- Maintain all other user properties that were not included in the request body
- Respond with a 200 status code indicating successful update
## Request Details
**Method:** `PATCH`
**URL:** `https://dummyjson.com/users/6`
**Headers:**
- Content-Type: application/json
**Request Body Structure:**
```json
{
"lastName": "Ellie",
"age": 30
}
```
The request body accepts a JSON object containing the fields you want to update. In this example:
- `lastName` (string): The user's last name to be updated
- `age` (integer): The user's age to be updated
You can include any valid user fields that need modification.
## Variables Used
This request uses the following variables:
- **`baseUrl`**: The base URL of the API endpoint (e.g., https://dummyjson.com)
- **`user_id`**: The unique identifier of the user to be updated
These variables should be defined in your environment or collection variables.
## Response Details
**Expected Status Code:** `200 OK`
**Response Structure:**
The API returns a complete user object with all the updated fields reflected:
```json
{
"id": 1,
"firstName": "John",
"lastName": "Ellie",
"age": 30,
"email": "user@example.com",
// ... other user properties
}
```
The response will include:
- All fields that were updated (matching the request body values)
- All other user properties that remained unchanged
- Content-Type header set to `application/json`
## Test Validations
This request includes 5 automated test assertions that validate the response:
1. **Status Code Validation**
- Verifies that the response status code is 200
- Ensures the update operation was successful
2. **Response Time Check**
- Confirms the response time is less than 2000ms
- Ensures the API performs within acceptable time limits
3. **Content-Type Validation**
- Checks that the response Content-Type header is `application/json`
- Ensures the response format is correct
4. **Response Body Type Check**
- Validates that the response body is a JSON object
- Ensures proper data structure is returned
5. **Field Update Verification**
- Dynamically validates that all fields sent in the request body are correctly updated in the response
- Compares each key-value pair from the request body with the corresponding values in the response
- Ensures data integrity and confirms the update was applied correctly
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c5b769e4-df14-40ea-8cb1-a2738c155ea0 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 43 |
{
"lastName":"Ellie",
"age":30
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:51 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 98 |
| x-ratelimit-reset | 1769721601 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"58b-VdgOZJsb+olYSZCa4N0eopc5NYM" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=rxr2Qc5bsvBWhgWdh3w5OuM1GOj1I3FvQcLO3onaT971Oovje7c60pcskJRKcgy4jXPZOtt4AML8k%2BiL5%2FadCRvg%2ByHN2Y%2BMEErqWcGDs5X2%2FiICp6TV318%3D"}]} |
| CF-RAY | 9c5bc52b7e020c5b-AMM |
{"id":6,"firstName":"Olivia","lastName":"Ellie","maidenName":"","age":30,"gender":"female","email":"olivia.wilson@x.dummyjson.com","phone":"+91 607-295-6448","username":"oliviaw","password":"oliviawpass","birthDate":"2002-4-20","image":"https://dummyjson.com/icon/oliviaw/128","bloodGroup":"B+","height":182.61,"weight":58,"eyeColor":"Hazel","hair":{"color":"Gray","type":"Curly"},"ip":"249.178.112.207","address":{"address":"547 First Street","city":"Fort Worth","state":"Tennessee","stateCode":"TN","postalCode":"83843","coordinates":{"lat":75.32627,"lng":-26.15285},"country":"United States"},"macAddress":"9c:7f:ea:34:18:19","university":"University of North Carolina--Chapel Hill","bank":{"cardExpire":"06/30","cardNumber":"376320072452632","cardType":"American Express","currency":"NZD","iban":"DE21153814367894194071"},"company":{"department":"Product Management","name":"Pfannerstill Inc","title":"Research Analyst","address":{"address":"425 Sixth Street","city":"Indianapolis","state":"Oklahoma","stateCode":"OK","postalCode":"74263","coordinates":{"lat":74.986644,"lng":-132.916888},"country":"United States"}},"ein":"921-709","ssn":"836-772-168","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| edited fields are updated | 1 | 0 | 0 |
| Total | 5 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Delete User
## Overview
This request deletes a user from the system by sending a DELETE request to the users endpoint with a specific user ID.
## Purpose
This endpoint exists to permanently remove user accounts from the system. It solves the need for user account management, allowing administrators or authorized users to delete user records when they are no longer needed, when users request account deletion, or for data cleanup purposes.
## Expected Behaviour
When this request is executed successfully:
- The system locates the user by the provided `user_id`
- The user account is marked as deleted in the database
- A confirmation response is returned with deletion status and timestamp
- The response includes a boolean flag confirming deletion and the exact time of deletion
- All validations pass confirming the deletion was successful
## Request Details
**Method:** `DELETE`
**URL:** `https://dummyjson.com/users/6`
**Headers:** Standard headers are applied automatically
**Request Body:** This request does not require a request body
## Variables Used
| Variable | Description |
|----------|-------------|
| `baseUrl` | The base URL of the API endpoint |
| `user_id` | The unique identifier of the user to be deleted |
## Response Details
The API returns a JSON object with the following structure:
**Response Fields:**
| Field | Type | Description |
|-------|------|-------------|
| `isDeleted` | boolean | Indicates whether the user was successfully deleted (should be `true`) |
| `deletedOn` | string | Timestamp indicating when the user was deleted |
**Example Response:**
```json
{
"isDeleted": true,
"deletedOn": "2024-01-15T10:30:00.000Z"
}
```
## Test Validations
This request includes 7 automated test assertions to validate the response:
1. **Status Code Validation** - Verifies that the response status code is 200 (OK)
2. **Response Time Check** - Ensures the response time is less than 2000ms for performance monitoring
3. **Content-Type Validation** - Confirms the response Content-Type header is `application/json`
4. **Response Structure Check** - Validates that the response body is a valid JSON object
5. **isDeleted Property Validation** - Verifies that the response contains an `isDeleted` property with boolean data type
6. **deletedOn Property Validation** - Verifies that the response contains a `deletedOn` property with string data type
7. **Deletion Confirmation** - Confirms that the `isDeleted` field is `true`, indicating successful user deletion
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 93fcec60-9dc9-4143-9bc4-28f60b26fc3e |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:51 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 96 |
| x-ratelimit-reset | 1769721597 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"5c4-4c3RKiQSVvrXuRNgN1zQrnZrFnk" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=H2sRvduvIXNSQvSLPdGoIGyC4T2b3YaSx0YB%2BvhZsBfBMWvZS4v%2BmjduMRfaKd5%2BgZtAsCXaXS5pBDK4NnE1HPuxECWFkAnxy0h260705RvLSkfgSe%2FI4%2Bg%3D"}]} |
| CF-RAY | 9c5bc52ce9ff0c5b-AMM |
{"id":6,"firstName":"Olivia","lastName":"Wilson","maidenName":"","age":23,"gender":"female","email":"olivia.wilson@x.dummyjson.com","phone":"+91 607-295-6448","username":"oliviaw","password":"oliviawpass","birthDate":"2002-4-20","image":"https://dummyjson.com/icon/oliviaw/128","bloodGroup":"B+","height":182.61,"weight":58,"eyeColor":"Hazel","hair":{"color":"Gray","type":"Curly"},"ip":"249.178.112.207","address":{"address":"547 First Street","city":"Fort Worth","state":"Tennessee","stateCode":"TN","postalCode":"83843","coordinates":{"lat":75.32627,"lng":-26.15285},"country":"United States"},"macAddress":"9c:7f:ea:34:18:19","university":"University of North Carolina--Chapel Hill","bank":{"cardExpire":"06/30","cardNumber":"376320072452632","cardType":"American Express","currency":"NZD","iban":"DE21153814367894194071"},"company":{"department":"Product Management","name":"Pfannerstill Inc","title":"Research Analyst","address":{"address":"425 Sixth Street","city":"Indianapolis","state":"Oklahoma","stateCode":"OK","postalCode":"74263","coordinates":{"lat":74.986644,"lng":-132.916888},"country":"United States"}},"ein":"921-709","ssn":"836-772-168","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator","isDeleted":true,"deletedOn":"2026-01-29T21:19:51.896Z"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body has is deleted property with correct data type | 1 | 0 | 0 |
| response body has deleted on property with correct data type | 1 | 0 | 0 |
| user is deleted | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Get User with Invalid ID
## Overview
This is a negative test case designed to verify the API's error handling when attempting to retrieve a user with an invalid user ID. The request tests how the system responds to malformed or non-existent user identifiers.
## Purpose
This request exists to validate that the API properly handles error scenarios and returns appropriate error responses when invalid data is provided. It ensures that:
- The API returns the correct HTTP status code for invalid requests
- Error messages are properly formatted and informative
- The system gracefully handles edge cases without crashing
## Expected Behaviour
When this request is executed with an invalid user ID, the API should:
- Return a **404 Not Found** status code
- Provide a JSON response containing an error message
- Include a descriptive message indicating that the user was not found
- Handle the error gracefully without exposing sensitive system information
## Request Details
- **Method**: `GET`
- **URL**: `https://dummyjson.com/users/99999999`
- **Headers**: Standard headers (if any are set at collection/folder level)
- **Request Body**: None (GET requests do not have a request body)
## Variables Used
This request uses the following variables:
- **`baseUrl`**: The base URL of the API endpoint (e.g., `https://dummyjson.com`)
- **`invalid_id`**: An invalid user ID value used to trigger the error response (e.g., a non-existent ID, malformed string, or negative number)
## Response Details
The expected error response structure when an invalid user ID is provided:
**Status Code**: `404 Not Found`
**Response Body** (JSON):
```json
{
"message": "User not found"
}
```
The response should contain:
- A `message` field with a descriptive error message
- The message text should include "not found" (case-insensitive)
## Test Validations
This request includes three automated test assertions in the post-response script:
1. **Status Code Validation**: Verifies that the response status code is `404`
- Ensures the API returns the correct HTTP status for invalid user IDs
2. **Error Message Property Check**: Confirms that the response body contains a `message` property
- Validates that the error response follows the expected structure
3. **Error Message Content Validation**: Checks that the error message includes "not found" text
- Ensures the error message is descriptive and indicates the user was not found
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e0e8a59f-b67a-4a76-8d56-bf70d11b676a |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:52 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 95 |
| x-ratelimit-reset | 1769721597 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"2f-toGsrVi0XdPkGLD1S0/ZZF22Ihs" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=lKCsnYg7uwTS8hMxR6b36zvhd08jlacvhh85%2FQhZF%2Bp2pxZX4DDKw7AfJD9bvPGVsJhxnFR4J0e82YulsbT1%2Fqkrf0gmJOeCc5PIpag0YG%2FCoRKPax3rwR8%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc52e8dc70c5b-AMM |
{"message":"User with id '99999999' not found"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| response body contains error message | 1 | 0 | 0 |
| response body contains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Login-Valid Credentials
# Overview
This endpoint authenticates a user and returns access and refresh tokens for subsequent API requests.
# Purpose
To authenticate users with valid credentials and obtain JWT tokens (access token and refresh token) required for accessing protected endpoints in the DummyJSON API.
# Expected Behavior
- Accepts user credentials (username and password)
- Validates the credentials against the authentication system
- Returns authentication tokens and user information upon successful login
- Stores tokens in environment variables for use in subsequent requests
# Request Details
- **Method**: POST
- **Endpoint**: `https://dummyjson.com/auth/login`
- **Content-Type**: application/json
- **Body**:
``` json
{
"username": "emilys",
"password": "emilyspass"
}
```
# Variables Used
- **baseUrl**: The base URL for the API endpoint
- **logged_in_username**: Set in pre-request script from the request body username field
# Response Details
The successful response returns a JSON object containing:
- **accessToken**: JWT token for authenticating API requests
- **refreshToken**: Token used to refresh the access token when it expires
- **id**: Unique identifier for the authenticated user
- **username**: Username of the authenticated user
- Additional user profile information
# Test Validations
The post-response script performs the following validations:
- Status code is 200
- Response time is less than 2000ms
- Content-Type header is application/json
- Response body is a valid JSON object
- Response contains `accessToken` and `refreshToken` properties
- Both tokens are not empty
- Response contains user `id` property
- User ID is a number
- Returned username matches the logged-in username
**Environment Variables Set**:
- `access_token`: Stored for authorization in subsequent requests
- `refresh_token`: Stored for token refresh operations
- `logged_in_username`: Stored for validation purposes
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 065697f2-c5e8-4880-b0d7-c2b08a53eaa1 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 61 |
{
"username": "emilys",
"password": "emilyspass"
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:52 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 94 |
| x-ratelimit-reset | 1769721597 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| Set-Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTIsImV4cCI6MTc2OTcyNTE5Mn0.wzKv9DdOyYW56qTrBhL9fYlFS-liii9bcBeAt6FycdE; Max-Age=3600; Path=/; Expires=Thu, 29 Jan 2026 22:19:52 GMT; HttpOnly; Secure |
| Set-Cookie | refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTIsImV4cCI6MTc3MjMxMzU5Mn0.8LUrTm9WJPXGoDOiDyh-n_q4FSyjxsq6SAgW1ymvYPI; Max-Age=3600; Path=/; Expires=Thu, 29 Jan 2026 22:19:52 GMT; HttpOnly; Secure |
| etag | W/"3a2-RuJ737eBbWby4/KmNn4G6OccJZU" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=7JuBRpvACYA%2FQE9ffIP1mlDEMlq2oQ5VGgenxMqS3grgJzC%2Fg3Rhvjxy5cgwYrwCKCoMpfGE8Xhq19JNsZAmc8iOXWaqfe0mWV5prtISBrzkjWHZ%2FP%2Bb0W4%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc530098f0c5b-AMM |
{"accessToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTIsImV4cCI6MTc2OTcyNTE5Mn0.wzKv9DdOyYW56qTrBhL9fYlFS-liii9bcBeAt6FycdE","refreshToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTIsImV4cCI6MTc3MjMxMzU5Mn0.8LUrTm9WJPXGoDOiDyh-n_q4FSyjxsq6SAgW1ymvYPI","id":1,"username":"emilys","email":"emily.johnson@x.dummyjson.com","firstName":"Emily","lastName":"Johnson","gender":"female","image":"https://dummyjson.com/icon/emilys/128"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000 ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| Response body is json object | 1 | 0 | 0 |
| Response body contains access token | 1 | 0 | 0 |
| Response body contains refresh token | 1 | 0 | 0 |
| access token is not empty | 1 | 0 | 0 |
| refresh token is not empty | 1 | 0 | 0 |
| response body contains user id | 1 | 0 | 0 |
| user id is a number | 1 | 0 | 0 |
| returned user matches logged in user | 1 | 0 | 0 |
| Total | 11 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Current User
## Overview
This endpoint retrieves information about the currently authenticated user.
## Purpose
To fetch the profile details of the logged-in user, including their unique identifier, username, and email address.
## Expected Behavior
When called with valid authentication, this endpoint returns the current user's profile data in JSON format with a 200 status code.
## Request Details
- **Method**: GET
- **Endpoint**: `https://dummyjson.com/auth/me`
- **Authentication**: Required (uses `access_token`)
- **Request Body**: None
## Variables Used
- `baseUrl` - The base URL for the API
- `access_token` - Authentication token for the current user
- `logged_in_username` - Used in test validation to verify the returned user
## Response Details
The response returns a JSON object containing:
- `id` (number) - Unique identifier for the user
- `username` (string) - Username of the authenticated user
- `email` (string) - Email address in valid format
## Test Validations
The following automated tests are executed on the response:
- Status code is 200
- Response time is less than 2000ms
- Content-Type header is application/json
- Response body is a valid JSON object
- Response contains required fields: id, username, and email
- User id is a number and username is a string
- Email follows valid email format (pattern: `^\S+@\S+\.\S+$`)
- Returned username matches the logged-in user's username
| Header Name | Header Value |
|---|---|
| Authorization | Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTIsImV4cCI6MTc2OTcyNTE5Mn0.wzKv9DdOyYW56qTrBhL9fYlFS-liii9bcBeAt6FycdE |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5327f09f-4429-4530-aa93-5d9c00ab63a5 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTIsImV4cCI6MTc2OTcyNTE5Mn0.wzKv9DdOyYW56qTrBhL9fYlFS-liii9bcBeAt6FycdE; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTIsImV4cCI6MTc3MjMxMzU5Mn0.8LUrTm9WJPXGoDOiDyh-n_q4FSyjxsq6SAgW1ymvYPI |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:52 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 97 |
| x-ratelimit-reset | 1769721601 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"58f-CoL/KoXlW3x1PtqQr3wqPsXj6DE" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=DtssHO8JCMHT%2FVsBm3kCi8b196ZqSLcZQwHJHHLdtKmWTZ12GA1lDAy%2BqlJn8BpWsSqu6yYvfZ4%2Bcz6sla462jD8hw5JY3v8QNfFBO%2FZsMyvrhAOoYKGKJQ%3D"}]} |
| CF-RAY | 9c5bc531cdfd0c5b-AMM |
{"id":1,"firstName":"Emily","lastName":"Johnson","maidenName":"Smith","age":29,"gender":"female","email":"emily.johnson@x.dummyjson.com","phone":"+81 965-431-3024","username":"emilys","password":"emilyspass","birthDate":"1996-5-30","image":"https://dummyjson.com/icon/emilys/128","bloodGroup":"O-","height":193.24,"weight":63.16,"eyeColor":"Green","hair":{"color":"Brown","type":"Curly"},"ip":"42.48.100.32","address":{"address":"626 Main Street","city":"Phoenix","state":"Mississippi","stateCode":"MS","postalCode":"29112","coordinates":{"lat":-77.16213,"lng":-92.084824},"country":"United States"},"macAddress":"47:fa:41:18:ec:eb","university":"University of Wisconsin--Madison","bank":{"cardExpire":"05/28","cardNumber":"3693233511855044","cardType":"Diners Club International","currency":"GBP","iban":"GB74MH2UZLR9TRPHYNU8F8"},"company":{"department":"Engineering","name":"Dooley, Kozey and Cronin","title":"Sales Manager","address":{"address":"263 Tenth Street","city":"San Francisco","state":"Wisconsin","stateCode":"WI","postalCode":"37657","coordinates":{"lat":71.814525,"lng":-161.150263},"country":"United States"}},"ein":"977-175","ssn":"900-590-289","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body contains user id, username and user email | 1 | 0 | 0 |
| user id is a number and username is a string | 1 | 0 | 0 |
| user email is a valid email | 1 | 0 | 0 |
| returned user matches logged in user | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Refresh Authentication Token
### Overview
This endpoint refreshes the authentication tokens by validating the provided refresh token and issuing new access and refresh tokens.
### Purpose
To obtain new authentication tokens when the current access token expires, ensuring continuous authenticated access to the API without requiring the user to log in again.
### Expected Behavior
The endpoint validates the refresh token and returns a new pair of tokens (access token and refresh token) that can be used for subsequent authenticated requests.
### Request Details
- **Method:** POST
- **Endpoint:** `https://dummyjson.com/auth/refresh`
- **Body Type:** JSON (raw)
- **Request Body:**
``` json
{
"refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTIsImV4cCI6MTc3MjMxMzU5Mn0.8LUrTm9WJPXGoDOiDyh-n_q4FSyjxsq6SAgW1ymvYPI"
}
```
### Variables Used
- `baseUrl` - The base URL for the API
- `refresh_token` - The current refresh token stored in the environment
### Response Details
The successful response returns a JSON object containing:
- `accessToken` - A new access token for authenticating API requests
- `refreshToken` - A new refresh token for future token refresh operations
**Example Response:**
``` json
{
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
```
### Test Validations
The post-response script validates the following:
- ✓ Status code is 200
- ✓ Response time is less than 2000ms
- ✓ Content-Type header is application/json
- ✓ Response body is a valid JSON object
- ✓ Response contains `accessToken` property
- ✓ Response contains `refreshToken` property
- ✓ Access token is not empty
- ✓ Refresh token is not empty
- ✓ New tokens are automatically saved to environment variables (`access_token` and `refresh_token`)
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 085223c5-0446-48b4-8465-d65f8363307f |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 388 |
| Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTIsImV4cCI6MTc2OTcyNTE5Mn0.wzKv9DdOyYW56qTrBhL9fYlFS-liii9bcBeAt6FycdE; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTIsImV4cCI6MTc3MjMxMzU5Mn0.8LUrTm9WJPXGoDOiDyh-n_q4FSyjxsq6SAgW1ymvYPI |
{
"refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTIsImV4cCI6MTc3MjMxMzU5Mn0.8LUrTm9WJPXGoDOiDyh-n_q4FSyjxsq6SAgW1ymvYPI"
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:52 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 91 |
| x-ratelimit-reset | 1769721597 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| Set-Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTIsImV4cCI6MTc2OTcyNTE5Mn0.wzKv9DdOyYW56qTrBhL9fYlFS-liii9bcBeAt6FycdE; Max-Age=3600; Path=/; Expires=Thu, 29 Jan 2026 22:19:52 GMT; HttpOnly; Secure |
| Set-Cookie | refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTIsImV4cCI6MTc3MjMxMzU5Mn0.8LUrTm9WJPXGoDOiDyh-n_q4FSyjxsq6SAgW1ymvYPI; Max-Age=3600; Path=/; Expires=Thu, 29 Jan 2026 22:19:52 GMT; HttpOnly; Secure |
| etag | W/"2f4-ua0dgxypHLnPvisb7yaCyHjs0R4" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=3tZudK5%2FDKMSxaAgW9c6rsN9LAWrCxrxAONf67AETFBbe5nb%2B9R9NrttOd2Ey6DniReUbjpQ3Vx6rMuAcqKTJAPC8zITZFVl4ACFGaYSCoIMOXlm7SCancY%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc5334a1c0c5b-AMM |
{"accessToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTIsImV4cCI6MTc2OTcyNTE5Mn0.wzKv9DdOyYW56qTrBhL9fYlFS-liii9bcBeAt6FycdE","refreshToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTIsImV4cCI6MTc3MjMxMzU5Mn0.8LUrTm9WJPXGoDOiDyh-n_q4FSyjxsq6SAgW1ymvYPI"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body contains access token | 1 | 0 | 0 |
| response body contains refresh token | 1 | 0 | 0 |
| access token is not empty | 1 | 0 | 0 |
| refresh token is not empty | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Current User-After Refresh
## Overview
This endpoint retrieves the currently authenticated user's profile information using a valid access token. It returns comprehensive user details including personal information, contact details, and account metadata.
## Purpose
This endpoint is used to verify the user's authentication status and retrieve their profile data after a token refresh operation. It plays a critical role in the authentication flow by:
- Confirming that the refreshed access token is valid
- Retrieving the authenticated user's complete profile
- Validating that the correct user session is maintained after token refresh
## Expected Behavior
When executed successfully, this request will:
1. Authenticate the user using the Bearer token in the Authorization header
2. Return a 200 OK status code
3. Provide a JSON response containing the authenticated user's complete profile information
4. Complete within 2000ms response time
5. Return user data that matches the logged-in user's credentials
## Request Details
- **HTTP Method**: `GET`
- **Endpoint**: `https://dummyjson.com/auth/me`
- **Authentication**: Bearer Token (uses `access_token` variable)
- **Headers**:
- `Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTIsImV4cCI6MTc2OTcyNTE5Mn0.wzKv9DdOyYW56qTrBhL9fYlFS-liii9bcBeAt6FycdE`
## Variables Used
| Variable | Description |
|----------|-------------|
| `baseUrl` | The base URL for the API endpoint |
| `access_token` | Bearer token for authentication, obtained after login or token refresh |
| `logged_in_username` | Used in test validation to verify the returned user matches the authenticated session |
## Response Details
### Success Response
- **Status Code**: `200 OK`
- **Content-Type**: `application/json`
### Response Body Structure
```json
{
"id": number,
"username": string,
"email": string,
"firstName": string,
"lastName": string,
"maidenName": string,
"age": number,
"gender": string,
"phone": string,
"birthDate": string,
"image": string,
"bloodGroup": string,
"height": number,
"weight": number,
"eyeColor": string,
"hair": {
"color": string,
"type": string
},
"address": object,
"company": object,
"bank": object,
"role": string
}
```
### Key Response Fields
- **id**: Unique user identifier (number)
- **username**: User's login username (string)
- **email**: User's email address (string, validated format)
- **firstName**: User's first name
- **lastName**: User's last name
- **phone**: Contact phone number
- **role**: User's role in the system (e.g., "admin")
## Test Validations
This request includes comprehensive automated test assertions to ensure proper functionality:
1. ✓ **Status code is 200** - Verifies successful authentication and request processing
2. ✓ **Response time is less than 2000ms** - Ensures acceptable API performance
3. ✓ **Content-Type is application/json** - Confirms proper response format
4. ✓ **Response body is a JSON object** - Validates response structure
5. ✓ **Response contains id, username, and email** - Ensures essential user fields are present
6. ✓ **User id is a number and username is a string** - Validates data types for key fields
7. ✓ **Email format validation** - Confirms email follows valid format pattern (regex: `^\S+@\S+\.\S+$`)
8. ✓ **Returned user matches logged-in user** - Verifies the username matches the `logged_in_username` environment variable, ensuring session integrity
| Header Name | Header Value |
|---|---|
| Authorization | Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTIsImV4cCI6MTc2OTcyNTE5Mn0.wzKv9DdOyYW56qTrBhL9fYlFS-liii9bcBeAt6FycdE |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 4ae14f3f-730f-4164-afda-00573303862e |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTIsImV4cCI6MTc2OTcyNTE5Mn0.wzKv9DdOyYW56qTrBhL9fYlFS-liii9bcBeAt6FycdE; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTIsImV4cCI6MTc3MjMxMzU5Mn0.8LUrTm9WJPXGoDOiDyh-n_q4FSyjxsq6SAgW1ymvYPI |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:53 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 90 |
| x-ratelimit-reset | 1769721597 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"58f-CoL/KoXlW3x1PtqQr3wqPsXj6DE" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=zFR6Oe9NnxDZJPFy97uEocDWpRN90HjAdi3zEP2x5Jfx1zIxKU9bHC7lFLTKTgBtoRixYdxBBM0hrn4DMNc0K4zMqI1%2BeCdTjtxLLY5bOLLvDPnq8vvP1VQ%3D"}]} |
| CF-RAY | 9c5bc534ce480c5b-AMM |
{"id":1,"firstName":"Emily","lastName":"Johnson","maidenName":"Smith","age":29,"gender":"female","email":"emily.johnson@x.dummyjson.com","phone":"+81 965-431-3024","username":"emilys","password":"emilyspass","birthDate":"1996-5-30","image":"https://dummyjson.com/icon/emilys/128","bloodGroup":"O-","height":193.24,"weight":63.16,"eyeColor":"Green","hair":{"color":"Brown","type":"Curly"},"ip":"42.48.100.32","address":{"address":"626 Main Street","city":"Phoenix","state":"Mississippi","stateCode":"MS","postalCode":"29112","coordinates":{"lat":-77.16213,"lng":-92.084824},"country":"United States"},"macAddress":"47:fa:41:18:ec:eb","university":"University of Wisconsin--Madison","bank":{"cardExpire":"05/28","cardNumber":"3693233511855044","cardType":"Diners Club International","currency":"GBP","iban":"GB74MH2UZLR9TRPHYNU8F8"},"company":{"department":"Engineering","name":"Dooley, Kozey and Cronin","title":"Sales Manager","address":{"address":"263 Tenth Street","city":"San Francisco","state":"Wisconsin","stateCode":"WI","postalCode":"37657","coordinates":{"lat":71.814525,"lng":-161.150263},"country":"United States"}},"ein":"977-175","ssn":"900-590-289","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body contains user id, username and user email | 1 | 0 | 0 |
| user id is a number and username is a string | 1 | 0 | 0 |
| user email is a valid email | 1 | 0 | 0 |
| returned user matches logged in user | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Login with Invalid Password
## Overview
This negative test case validates the API's behavior when a user attempts to authenticate with an invalid password. It ensures that the authentication endpoint properly rejects login attempts with incorrect credentials.
## Purpose
This negative test is important for verifying:
- **Security**: The API correctly denies access when invalid credentials are provided
- **Error Handling**: Appropriate error responses are returned to the client
- **Input Validation**: The authentication system properly validates password credentials
- **User Feedback**: Clear error messages are provided to help users understand authentication failures
## Expected Behavior
When invalid credentials are provided:
1. The API should reject the authentication attempt
2. Return a `400 Bad Request` status code
3. Provide a clear error message indicating invalid credentials
4. Not grant access tokens or authenticate the user
## Request Details
**HTTP Method:** `POST`
**Endpoint:** `https://dummyjson.com/auth/login`
**Content-Type:** `application/json`
**Request Body:**
```json
{
"username": "emilys",
"password": "wrongpass"
}
```
- `username`: Valid username (emilys)
- `password`: Invalid/incorrect password (wrongpass)
## Variables Used
- **baseUrl**: The base URL for the API (configured in the active environment)
## Response Details
**Status Code:** `400 Bad Request`
**Content-Type:** `application/json`
**Response Body Structure:**
```json
{
"message": "Invalid credentials"
}
```
The response contains:
- `message`: A string field containing the error description indicating that the provided credentials are invalid
## Test Validations
This request includes automated test assertions to verify the expected behavior:
1. ✓ **Status code is 400**: Validates that the API returns a `400 Bad Request` status code
2. ✓ **Response body contains error message field**: Ensures the response includes a `message` property
3. ✓ **Response body contains proper error message**: Verifies that the error message includes the text "invalid credentials" (case-insensitive)
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 63bc9ebb-b414-4d40-80d1-aee18368d90c |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 60 |
| Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTIsImV4cCI6MTc2OTcyNTE5Mn0.wzKv9DdOyYW56qTrBhL9fYlFS-liii9bcBeAt6FycdE; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTIsImV4cCI6MTc3MjMxMzU5Mn0.8LUrTm9WJPXGoDOiDyh-n_q4FSyjxsq6SAgW1ymvYPI |
{
"username": "emilys",
"password": "wrongpass"
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:53 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 33 |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 99 |
| x-ratelimit-reset | 1769721603 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"21-dBEoW0UmTF+EGUMaprEp9/8zNNA" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=tzNhlK4nt7wqt%2FAZoy4Qy%2BiF9n3rQ3pVGG9MPFgPoO8F3%2FC1NuFK2Sv0WeFehFTzc0TGJySF9SpGyveBRIWjkkVjGd5cBmOQPwXe3lLJMTurVccU6YYun08%3D"}]} |
| CF-RAY | 9c5bc5365a4f0c5b-AMM |
{"message":"Invalid credentials"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| response body contains error message field | 1 | 0 | 0 |
| response body contains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Login with Empty Password Field
## Overview
This negative test case validates the API's behavior when a login request is submitted with an empty password field. It ensures that the authentication endpoint properly handles and rejects incomplete login attempts.
## Purpose
This negative test is important to verify that the API:
- Enforces required field validation for authentication
- Returns appropriate error responses when mandatory fields are missing or empty
- Prevents authentication attempts with incomplete credentials
- Provides clear error messaging to help clients identify the issue
Testing empty/missing required fields is a critical aspect of API security and data validation, ensuring that the system doesn't process invalid requests.
## Expected Behavior
When the password field is empty (or missing), the API should:
- Reject the authentication request
- Return a `400 Bad Request` status code
- Provide a clear error message indicating that both username and password are required
- Not process the login attempt or generate any authentication tokens
## Request Details
**HTTP Method:** `POST`
**Endpoint:** `https://dummyjson.com/auth/login`
**Headers:**
- `Content-Type: application/json`
**Request Body:**
```json
{
"username": "emilys",
"password": ""
}
```
The request includes a valid username but an empty string for the password field, simulating a scenario where the user forgets to enter their password.
## Variables Used
- **baseUrl**: The base URL for the API (defined in the active environment)
## Response Details
**Status Code:** `400 Bad Request`
**Content-Type:** `application/json`
**Response Body Structure:**
```json
{
"message": "Username and password required"
}
```
The response contains a `message` field that provides a descriptive error message explaining why the request was rejected.
## Test Validations
The following automated test assertions are performed on the response:
1. **Status code is 400**: Verifies that the API returns a `400 Bad Request` status code, indicating a client-side error due to invalid input.
2. **Response body contains error message field**: Confirms that the response includes a `message` property, ensuring consistent error response structure.
3. **Response body contains proper error message**: Validates that the error message text includes "username and password required" (case-insensitive), ensuring the API provides meaningful feedback about the missing required fields.
These validations ensure that the API correctly handles incomplete authentication requests and provides appropriate error responses to guide API consumers.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e6b00b5b-d818-46ee-8c8a-6a8bab305a17 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 51 |
| Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTIsImV4cCI6MTc2OTcyNTE5Mn0.wzKv9DdOyYW56qTrBhL9fYlFS-liii9bcBeAt6FycdE; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTIsImV4cCI6MTc3MjMxMzU5Mn0.8LUrTm9WJPXGoDOiDyh-n_q4FSyjxsq6SAgW1ymvYPI |
{
"username": "emilys",
"password": ""
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:53 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 44 |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 96 |
| x-ratelimit-reset | 1769721601 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"2c-JAq5V8MKfWmWXvKJFTg6rvXRjdU" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=sLH8n1123UHPxDcst39aP4JYUW%2B69aA64CGffQfq8T5NHDyzXrtxHdUWHC7Im574%2F%2BbQQWIgOeIlXEGsqC5gXTt%2FAQm4kwueR6j4D3zjgM%2F37BZplG5WPMw%3D"}]} |
| CF-RAY | 9c5bc537bdd70c5b-AMM |
{"message":"Username and password required"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| response body contains error message field | 1 | 0 | 0 |
| response body contains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Get Current User with Invalid Token
## Overview
This is a negative test case that validates the API's authentication mechanism by attempting to retrieve the current user's information using an invalid or expired authentication token.
## Purpose
This negative test is critical for verifying the security and robustness of the authentication system. It ensures that:
- The API properly rejects requests with invalid/expired tokens
- Unauthorized access is prevented when authentication credentials are compromised or outdated
- The system returns appropriate error messages to help identify authentication failures
- Security vulnerabilities related to token validation are not present
## Expected Behavior
When an invalid or expired token is used for authentication, the API should:
- Reject the request and deny access to protected resources
- Return a `401 Unauthorized` status code
- Provide a clear error message indicating the token is invalid or expired
- Not expose any sensitive user information
## Request Details
- **HTTP Method**: `GET`
- **Endpoint**: `https://dummyjson.com/auth/me`
- **Authentication**: Bearer Token (using `invalid token` variable)
## Variables Used
- **baseUrl**: The base URL for the API endpoint
- **invalid_token**: An invalid or expired authentication token used specifically for testing authentication failure scenarios
## Response Details
- **Status Code**: `401 Unauthorized`
- **Content-Type**: `application/json`
- **Response Body Structure**:
```json
{
"message": "Invalid/expired token"
}
```
The response contains a `message` field that provides details about the authentication error.
## Test Validations
This request includes automated test assertions to verify the expected behavior:
1. **Status code is 401**: Validates that the API returns the correct HTTP status code for unauthorized access
2. **Response body contains error message field**: Ensures the response includes a `message` property with error details
3. **Response body contains proper error message**: Verifies that the error message text includes "invalid/expired token" to clearly indicate the authentication failure reason
| Header Name | Header Value |
|---|---|
| Authorization | Bearer invalid token |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f3aec630-8ae3-4d95-9b9b-cee287c6119c |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTIsImV4cCI6MTc2OTcyNTE5Mn0.wzKv9DdOyYW56qTrBhL9fYlFS-liii9bcBeAt6FycdE; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTIsImV4cCI6MTc3MjMxMzU5Mn0.8LUrTm9WJPXGoDOiDyh-n_q4FSyjxsq6SAgW1ymvYPI |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:53 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 36 |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 95 |
| x-ratelimit-reset | 1769721601 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| Set-Cookie | accessToken=; Path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT |
| Set-Cookie | refreshToken=; Path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT |
| etag | W/"24-xqucZbgfFI1MEKHBW2jR/IjHNdY" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=Ct9jWmTTdcJf%2FJgfQk5kNF240JgjySAX6DaNLHQSFTUmn2K1GfngSmj8n91i09JlZa11%2FQqMCGGK5w9SG53OmiIkIn%2BsPXU%2FlDBqDqAPgIXnV49YM%2FulQjs%3D"}]} |
| CF-RAY | 9c5bc5393a0b0c5b-AMM |
{"message":"Invalid/Expired Token!"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401 | 1 | 0 | 0 |
| response body contains error message field | 1 | 0 | 0 |
| Response body cantains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Products-List
## Overview
This endpoint retrieves a list of products from the DummyJSON API. It returns a paginated collection of product items with their basic information.
## Purpose
This endpoint is used to:
- Retrieve the product catalog for browsing and display purposes
- Support product listing pages in e-commerce applications
- Enable pagination through large product datasets
- Allow selective field retrieval to optimize response payload
## Expected Behavior
When executed successfully, this request returns a paginated list of products in JSON format. The response includes:
- An array of product objects with their details
- Pagination metadata (total count, skip offset, limit)
- HTTP 200 OK status code
- Response time under 2000ms
## Request Details
**HTTP Method:** `GET`
**Endpoint:** `https://dummyjson.com/products`
**Optional Query Parameters:**
- `limit` - Number of products to return (e.g., `10`)
- `skip` - Number of products to skip for pagination (e.g., `10`)
- `select` - Comma-separated list of fields to include in response (e.g., `title,price`)
**Example Request:**
```
GET https://dummyjson.com/products?limit=10&skip=0&select=title,price
```
## Variables Used
- **baseUrl**: The base URL for the DummyJSON API (configured in the active environment)
## Response Details
**Status Code:** `200 OK`
**Content-Type:** `application/json`
**Response Body Structure:**
```json
{
"products": [
{
"id": 1,
"title": "Product Name",
"price": 99.99,
// ... other product fields
}
],
"total": 100,
"skip": 0,
"limit": 10
}
```
**Response Fields:**
- `products` (array) - Array of product objects
- `id` (number) - Unique product identifier
- `title` (string) - Product name/title
- `price` (number) - Product price
- `total` (number) - Total number of products available
- `skip` (number) - Number of products skipped in pagination
- `limit` (number) - Maximum number of products returned
## Test Validations
This request includes automated test assertions to validate:
✓ **Status code is 200** - Confirms successful request
✓ **Response time is less than 2000ms** - Ensures acceptable performance
✓ **Content-Type is application/json** - Validates correct response format
✓ **Response body contains products array** - Verifies main data structure exists
✓ **Products array is not empty** - Ensures data is returned
✓ **Each product has id, title and price** - Validates required fields presence
✓ **Each product id is number, title is string, price is number** - Validates correct data types
✓ **Response body contains pagination fields** - Confirms total, skip, and limit fields exist
✓ **Products count does not exceed limit** - Validates pagination logic
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f731af2b-e10e-4883-9788-e8dc8d5cab08 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:54 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 99 |
| x-ratelimit-reset | 1769676639 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"ac3a-uk0FDUI0X0lS5liyUbIxqA7L7F4" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| Age | 44959 |
| Cache-Control | no-store |
| cf-cache-status | HIT |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=paQxx3bGUB5G2b7Fd7eZcMwUh0aUgvmyoKMyCvs3fpR1WidXaMCTPhoLGQg872J6HN8oXmpl8kDQqgbAONgb%2FMhVCrKilrrOwXXELb%2BlXPEpieYG9E%2FL9Qc%3D"}]} |
| CF-RAY | 9c5bc53aadd40c5b-AMM |
{"products":[{"id":1,"title":"Essence Mascara Lash Princess","description":"The Essence Mascara Lash Princess is a popular mascara known for its volumizing and lengthening effects. Achieve dramatic lashes with this long-lasting and cruelty-free formula.","category":"beauty","price":9.99,"discountPercentage":10.48,"rating":2.56,"stock":99,"tags":["beauty","mascara"],"brand":"Essence","sku":"BEA-ESS-ESS-001","weight":4,"dimensions":{"width":15.14,"height":13.08,"depth":22.99},"warrantyInformation":"1 week warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Collins","reviewerEmail":"eleanor.collins@x.dummyjson.com"},{"rating":4,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lucas Gordon","reviewerEmail":"lucas.gordon@x.dummyjson.com"},{"rating":5,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Collins","reviewerEmail":"eleanor.collins@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":48,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5784719087687","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/thumbnail.webp"},{"id":2,"title":"Eyeshadow Palette with Mirror","description":"The Eyeshadow Palette with Mirror offers a versatile range of eyeshadow shades for creating stunning eye looks. With a built-in mirror, it's convenient for on-the-go makeup application.","category":"beauty","price":19.99,"discountPercentage":18.19,"rating":2.86,"stock":34,"tags":["beauty","eyeshadow"],"brand":"Glamour Beauty","sku":"BEA-GLA-EYE-002","weight":9,"dimensions":{"width":9.26,"height":22.47,"depth":27.67},"warrantyInformation":"1 year warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Savannah Gomez","reviewerEmail":"savannah.gomez@x.dummyjson.com"},{"rating":4,"comment":"Awesome product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Christian Perez","reviewerEmail":"christian.perez@x.dummyjson.com"},{"rating":1,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nicholas Bailey","reviewerEmail":"nicholas.bailey@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":20,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"9170275171413","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/eyeshadow-palette-with-mirror/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/eyeshadow-palette-with-mirror/thumbnail.webp"},{"id":3,"title":"Powder Canister","description":"The Powder Canister is a finely milled setting powder designed to set makeup and control shine. With a lightweight and translucent formula, it provides a smooth and matte finish.","category":"beauty","price":14.99,"discountPercentage":9.84,"rating":4.64,"stock":89,"tags":["beauty","face powder"],"brand":"Velvet Touch","sku":"BEA-VEL-POW-003","weight":8,"dimensions":{"width":29.27,"height":27.93,"depth":20.59},"warrantyInformation":"3 months warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Alexander Jones","reviewerEmail":"alexander.jones@x.dummyjson.com"},{"rating":5,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Elijah Cruz","reviewerEmail":"elijah.cruz@x.dummyjson.com"},{"rating":1,"comment":"Very dissatisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Avery Perez","reviewerEmail":"avery.perez@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":22,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"8418883906837","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/powder-canister/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/powder-canister/thumbnail.webp"},{"id":4,"title":"Red Lipstick","description":"The Red Lipstick is a classic and bold choice for adding a pop of color to your lips. With a creamy and pigmented formula, it provides a vibrant and long-lasting finish.","category":"beauty","price":12.99,"discountPercentage":12.16,"rating":4.36,"stock":91,"tags":["beauty","lipstick"],"brand":"Chic Cosmetics","sku":"BEA-CHI-LIP-004","weight":1,"dimensions":{"width":18.11,"height":28.38,"depth":22.17},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Liam Garcia","reviewerEmail":"liam.garcia@x.dummyjson.com"},{"rating":5,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Ruby Andrews","reviewerEmail":"ruby.andrews@x.dummyjson.com"},{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Clara Berry","reviewerEmail":"clara.berry@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":40,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"9467746727219","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/red-lipstick/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/red-lipstick/thumbnail.webp"},{"id":5,"title":"Red Nail Polish","description":"The Red Nail Polish offers a rich and glossy red hue for vibrant and polished nails. With a quick-drying formula, it provides a salon-quality finish at home.","category":"beauty","price":8.99,"discountPercentage":11.44,"rating":4.32,"stock":79,"tags":["beauty","nail polish"],"brand":"Nail Couture","sku":"BEA-NAI-NAI-005","weight":8,"dimensions":{"width":21.63,"height":16.48,"depth":29.84},"warrantyInformation":"1 month warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Benjamin Wilson","reviewerEmail":"benjamin.wilson@x.dummyjson.com"},{"rating":5,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Liam Smith","reviewerEmail":"liam.smith@x.dummyjson.com"},{"rating":1,"comment":"Very unhappy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Clara Berry","reviewerEmail":"clara.berry@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":22,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"4063010628104","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/red-nail-polish/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/red-nail-polish/thumbnail.webp"},{"id":6,"title":"Calvin Klein CK One","description":"CK One by Calvin Klein is a classic unisex fragrance, known for its fresh and clean scent. It's a versatile fragrance suitable for everyday wear.","category":"fragrances","price":49.99,"discountPercentage":1.89,"rating":4.37,"stock":29,"tags":["fragrances","perfumes"],"brand":"Calvin Klein","sku":"FRA-CAL-CAL-006","weight":7,"dimensions":{"width":29.36,"height":27.76,"depth":20.72},"warrantyInformation":"1 week warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Layla Young","reviewerEmail":"layla.young@x.dummyjson.com"},{"rating":4,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Daniel Cook","reviewerEmail":"daniel.cook@x.dummyjson.com"},{"rating":3,"comment":"Not as described!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Jacob Cooper","reviewerEmail":"jacob.cooper@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":9,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"2451534060749","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/fragrances/calvin-klein-ck-one/1.webp","https://cdn.dummyjson.com/product-images/fragrances/calvin-klein-ck-one/2.webp","https://cdn.dummyjson.com/product-images/fragrances/calvin-klein-ck-one/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/fragrances/calvin-klein-ck-one/thumbnail.webp"},{"id":7,"title":"Chanel Coco Noir Eau De","description":"Coco Noir by Chanel is an elegant and mysterious fragrance, featuring notes of grapefruit, rose, and sandalwood. Perfect for evening occasions.","category":"fragrances","price":129.99,"discountPercentage":16.51,"rating":4.26,"stock":58,"tags":["fragrances","perfumes"],"brand":"Chanel","sku":"FRA-CHA-CHA-007","weight":7,"dimensions":{"width":24.5,"height":25.7,"depth":25.98},"warrantyInformation":"3 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Ruby Andrews","reviewerEmail":"ruby.andrews@x.dummyjson.com"},{"rating":5,"comment":"Awesome product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Leah Henderson","reviewerEmail":"leah.henderson@x.dummyjson.com"},{"rating":5,"comment":"Very happy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Xavier Wright","reviewerEmail":"xavier.wright@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"4091737746820","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/fragrances/chanel-coco-noir-eau-de/1.webp","https://cdn.dummyjson.com/product-images/fragrances/chanel-coco-noir-eau-de/2.webp","https://cdn.dummyjson.com/product-images/fragrances/chanel-coco-noir-eau-de/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/fragrances/chanel-coco-noir-eau-de/thumbnail.webp"},{"id":8,"title":"Dior J'adore","description":"J'adore by Dior is a luxurious and floral fragrance, known for its blend of ylang-ylang, rose, and jasmine. It embodies femininity and sophistication.","category":"fragrances","price":89.99,"discountPercentage":14.72,"rating":3.8,"stock":98,"tags":["fragrances","perfumes"],"brand":"Dior","sku":"FRA-DIO-DIO-008","weight":4,"dimensions":{"width":27.67,"height":28.28,"depth":11.83},"warrantyInformation":"1 week warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Great value for money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nicholas Bailey","reviewerEmail":"nicholas.bailey@x.dummyjson.com"},{"rating":4,"comment":"Great value for money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Penelope Harper","reviewerEmail":"penelope.harper@x.dummyjson.com"},{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Emma Miller","reviewerEmail":"emma.miller@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":10,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"1445086097250","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/fragrances/dior-j'adore/1.webp","https://cdn.dummyjson.com/product-images/fragrances/dior-j'adore/2.webp","https://cdn.dummyjson.com/product-images/fragrances/dior-j'adore/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/fragrances/dior-j'adore/thumbnail.webp"},{"id":9,"title":"Dolce Shine Eau de","description":"Dolce Shine by Dolce & Gabbana is a vibrant and fruity fragrance, featuring notes of mango, jasmine, and blonde woods. It's a joyful and youthful scent.","category":"fragrances","price":69.99,"discountPercentage":0.62,"rating":3.96,"stock":4,"tags":["fragrances","perfumes"],"brand":"Dolce & Gabbana","sku":"FRA-DOL-DOL-009","weight":6,"dimensions":{"width":27.28,"height":29.88,"depth":18.3},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 1 month","availabilityStatus":"Low Stock","reviews":[{"rating":4,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Mateo Bennett","reviewerEmail":"mateo.bennett@x.dummyjson.com"},{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nolan Gonzalez","reviewerEmail":"nolan.gonzalez@x.dummyjson.com"},{"rating":5,"comment":"Very happy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Aurora Lawson","reviewerEmail":"aurora.lawson@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"3023868210708","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/fragrances/dolce-shine-eau-de/1.webp","https://cdn.dummyjson.com/product-images/fragrances/dolce-shine-eau-de/2.webp","https://cdn.dummyjson.com/product-images/fragrances/dolce-shine-eau-de/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/fragrances/dolce-shine-eau-de/thumbnail.webp"},{"id":10,"title":"Gucci Bloom Eau de","description":"Gucci Bloom by Gucci is a floral and captivating fragrance, with notes of tuberose, jasmine, and Rangoon creeper. It's a modern and romantic scent.","category":"fragrances","price":79.99,"discountPercentage":14.39,"rating":2.74,"stock":91,"tags":["fragrances","perfumes"],"brand":"Gucci","sku":"FRA-GUC-GUC-010","weight":7,"dimensions":{"width":20.92,"height":21.68,"depth":11.2},"warrantyInformation":"6 months warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":1,"comment":"Very dissatisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Cameron Perez","reviewerEmail":"cameron.perez@x.dummyjson.com"},{"rating":5,"comment":"Very happy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Daniel Cook","reviewerEmail":"daniel.cook@x.dummyjson.com"},{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Addison Wright","reviewerEmail":"addison.wright@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"3170832177880","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/fragrances/gucci-bloom-eau-de/1.webp","https://cdn.dummyjson.com/product-images/fragrances/gucci-bloom-eau-de/2.webp","https://cdn.dummyjson.com/product-images/fragrances/gucci-bloom-eau-de/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/fragrances/gucci-bloom-eau-de/thumbnail.webp"},{"id":11,"title":"Annibale Colombo Bed","description":"The Annibale Colombo Bed is a luxurious and elegant bed frame, crafted with high-quality materials for a comfortable and stylish bedroom.","category":"furniture","price":1899.99,"discountPercentage":8.57,"rating":4.77,"stock":88,"tags":["furniture","beds"],"brand":"Annibale Colombo","sku":"FUR-ANN-ANN-011","weight":10,"dimensions":{"width":28.16,"height":25.36,"depth":17.28},"warrantyInformation":"1 year warranty","shippingInformation":"Ships in 1 month","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Christopher West","reviewerEmail":"christopher.west@x.dummyjson.com"},{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Vivian Carter","reviewerEmail":"vivian.carter@x.dummyjson.com"},{"rating":1,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Mason Wright","reviewerEmail":"mason.wright@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"3610757456581","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-bed/1.webp","https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-bed/2.webp","https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-bed/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-bed/thumbnail.webp"},{"id":12,"title":"Annibale Colombo Sofa","description":"The Annibale Colombo Sofa is a sophisticated and comfortable seating option, featuring exquisite design and premium upholstery for your living room.","category":"furniture","price":2499.99,"discountPercentage":14.4,"rating":3.92,"stock":60,"tags":["furniture","sofas"],"brand":"Annibale Colombo","sku":"FUR-ANN-ANN-012","weight":6,"dimensions":{"width":12.75,"height":20.55,"depth":19.06},"warrantyInformation":"Lifetime warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Very unhappy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Christian Perez","reviewerEmail":"christian.perez@x.dummyjson.com"},{"rating":5,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lillian Bishop","reviewerEmail":"lillian.bishop@x.dummyjson.com"},{"rating":1,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lillian Simmons","reviewerEmail":"lillian.simmons@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"1777662847736","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-sofa/1.webp","https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-sofa/2.webp","https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-sofa/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-sofa/thumbnail.webp"},{"id":13,"title":"Bedside Table African Cherry","description":"The Bedside Table in African Cherry is a stylish and functional addition to your bedroom, providing convenient storage space and a touch of elegance.","category":"furniture","price":299.99,"discountPercentage":19.09,"rating":2.87,"stock":64,"tags":["furniture","bedside tables"],"brand":"Furniture Co.","sku":"FUR-FUR-BED-013","weight":2,"dimensions":{"width":13.47,"height":24.99,"depth":27.35},"warrantyInformation":"5 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Aaliyah Hanson","reviewerEmail":"aaliyah.hanson@x.dummyjson.com"},{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Liam Smith","reviewerEmail":"liam.smith@x.dummyjson.com"},{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Avery Barnes","reviewerEmail":"avery.barnes@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"6441287925979","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/furniture/bedside-table-african-cherry/1.webp","https://cdn.dummyjson.com/product-images/furniture/bedside-table-african-cherry/2.webp","https://cdn.dummyjson.com/product-images/furniture/bedside-table-african-cherry/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/furniture/bedside-table-african-cherry/thumbnail.webp"},{"id":14,"title":"Knoll Saarinen Executive Conference Chair","description":"The Knoll Saarinen Executive Conference Chair is a modern and ergonomic chair, perfect for your office or conference room with its timeless design.","category":"furniture","price":499.99,"discountPercentage":2.01,"rating":4.88,"stock":26,"tags":["furniture","office chairs"],"brand":"Knoll","sku":"FUR-KNO-KNO-014","weight":10,"dimensions":{"width":13.81,"height":7.5,"depth":5.62},"warrantyInformation":"2 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Waste of money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Ella Cook","reviewerEmail":"ella.cook@x.dummyjson.com"},{"rating":2,"comment":"Very dissatisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Clara Berry","reviewerEmail":"clara.berry@x.dummyjson.com"},{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Elena Long","reviewerEmail":"elena.long@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":5,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"8919386859966","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/furniture/knoll-saarinen-executive-conference-chair/1.webp","https://cdn.dummyjson.com/product-images/furniture/knoll-saarinen-executive-conference-chair/2.webp","https://cdn.dummyjson.com/product-images/furniture/knoll-saarinen-executive-conference-chair/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/furniture/knoll-saarinen-executive-conference-chair/thumbnail.webp"},{"id":15,"title":"Wooden Bathroom Sink With Mirror","description":"The Wooden Bathroom Sink with Mirror is a unique and stylish addition to your bathroom, featuring a wooden sink countertop and a matching mirror.","category":"furniture","price":799.99,"discountPercentage":8.8,"rating":3.59,"stock":7,"tags":["furniture","bathroom"],"brand":"Bath Trends","sku":"FUR-BAT-WOO-015","weight":10,"dimensions":{"width":7.98,"height":8.88,"depth":28.46},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"Low Stock","reviews":[{"rating":4,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Logan Torres","reviewerEmail":"logan.torres@x.dummyjson.com"},{"rating":5,"comment":"Very pleased!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Aria Parker","reviewerEmail":"aria.parker@x.dummyjson.com"},{"rating":3,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Dylan Wells","reviewerEmail":"dylan.wells@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"1958104402873","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/furniture/wooden-bathroom-sink-with-mirror/1.webp","https://cdn.dummyjson.com/product-images/furniture/wooden-bathroom-sink-with-mirror/2.webp","https://cdn.dummyjson.com/product-images/furniture/wooden-bathroom-sink-with-mirror/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/furniture/wooden-bathroom-sink-with-mirror/thumbnail.webp"},{"id":16,"title":"Apple","description":"Fresh and crisp apples, perfect for snacking or incorporating into various recipes.","category":"groceries","price":1.99,"discountPercentage":12.62,"rating":4.19,"stock":8,"tags":["fruits"],"sku":"GRO-BRD-APP-016","weight":9,"dimensions":{"width":13.66,"height":11.01,"depth":9.73},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Sophia Brown","reviewerEmail":"sophia.brown@x.dummyjson.com"},{"rating":1,"comment":"Very dissatisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Scarlett Bowman","reviewerEmail":"scarlett.bowman@x.dummyjson.com"},{"rating":3,"comment":"Very unhappy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"William Gonzalez","reviewerEmail":"william.gonzalez@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":7,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"7962803553314","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/apple/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/apple/thumbnail.webp"},{"id":17,"title":"Beef Steak","description":"High-quality beef steak, great for grilling or cooking to your preferred level of doneness.","category":"groceries","price":12.99,"discountPercentage":9.61,"rating":4.47,"stock":86,"tags":["meat"],"sku":"GRO-BRD-BEE-017","weight":10,"dimensions":{"width":18.9,"height":5.77,"depth":18.57},"warrantyInformation":"3 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Tyler","reviewerEmail":"eleanor.tyler@x.dummyjson.com"},{"rating":4,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Alexander Jones","reviewerEmail":"alexander.jones@x.dummyjson.com"},{"rating":5,"comment":"Great value for money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Natalie Harris","reviewerEmail":"natalie.harris@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":43,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5640063409695","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/beef-steak/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/beef-steak/thumbnail.webp"},{"id":18,"title":"Cat Food","description":"Nutritious cat food formulated to meet the dietary needs of your feline friend.","category":"groceries","price":8.99,"discountPercentage":9.58,"rating":3.13,"stock":46,"tags":["pet supplies","cat food"],"sku":"GRO-BRD-FOO-018","weight":10,"dimensions":{"width":18.08,"height":9.26,"depth":21.86},"warrantyInformation":"1 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Noah Lewis","reviewerEmail":"noah.lewis@x.dummyjson.com"},{"rating":3,"comment":"Very unhappy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Ruby Andrews","reviewerEmail":"ruby.andrews@x.dummyjson.com"},{"rating":2,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Ethan Thompson","reviewerEmail":"ethan.thompson@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":18,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"1483991328610","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/cat-food/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/cat-food/thumbnail.webp"},{"id":19,"title":"Chicken Meat","description":"Fresh and tender chicken meat, suitable for various culinary preparations.","category":"groceries","price":9.99,"discountPercentage":13.7,"rating":3.19,"stock":97,"tags":["meat"],"sku":"GRO-BRD-CHI-019","weight":1,"dimensions":{"width":11.03,"height":22.11,"depth":16.01},"warrantyInformation":"1 year warranty","shippingInformation":"Ships in 1 month","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Mateo Bennett","reviewerEmail":"mateo.bennett@x.dummyjson.com"},{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Jackson Evans","reviewerEmail":"jackson.evans@x.dummyjson.com"},{"rating":3,"comment":"Not worth the price!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Sadie Morales","reviewerEmail":"sadie.morales@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":22,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"8829514594521","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/chicken-meat/1.webp","https://cdn.dummyjson.com/product-images/groceries/chicken-meat/2.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/chicken-meat/thumbnail.webp"},{"id":20,"title":"Cooking Oil","description":"Versatile cooking oil suitable for frying, sautéing, and various culinary applications.","category":"groceries","price":4.99,"discountPercentage":9.33,"rating":4.8,"stock":10,"tags":["cooking essentials"],"sku":"GRO-BRD-COO-020","weight":5,"dimensions":{"width":19.95,"height":27.54,"depth":24.86},"warrantyInformation":"Lifetime warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Very happy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Victoria McDonald","reviewerEmail":"victoria.mcdonald@x.dummyjson.com"},{"rating":2,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Hazel Evans","reviewerEmail":"hazel.evans@x.dummyjson.com"},{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Zoe Bennett","reviewerEmail":"zoe.bennett@x.dummyjson.com"}],"returnPolicy":"30 days return policy","minimumOrderQuantity":46,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"4874727824518","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/cooking-oil/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/cooking-oil/thumbnail.webp"},{"id":21,"title":"Cucumber","description":"Crisp and hydrating cucumbers, ideal for salads, snacks, or as a refreshing side.","category":"groceries","price":1.49,"discountPercentage":0.16,"rating":4.07,"stock":84,"tags":["vegetables"],"sku":"GRO-BRD-CUC-021","weight":4,"dimensions":{"width":12.8,"height":28.38,"depth":21.34},"warrantyInformation":"2 year warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lincoln Kelly","reviewerEmail":"lincoln.kelly@x.dummyjson.com"},{"rating":4,"comment":"Great value for money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Savannah Gomez","reviewerEmail":"savannah.gomez@x.dummyjson.com"},{"rating":2,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"James Davis","reviewerEmail":"james.davis@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5300066378225","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/cucumber/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/cucumber/thumbnail.webp"},{"id":22,"title":"Dog Food","description":"Specially formulated dog food designed to provide essential nutrients for your canine companion.","category":"groceries","price":10.99,"discountPercentage":10.27,"rating":4.55,"stock":71,"tags":["pet supplies","dog food"],"sku":"GRO-BRD-FOO-022","weight":10,"dimensions":{"width":16.93,"height":27.15,"depth":9.29},"warrantyInformation":"No warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nicholas Edwards","reviewerEmail":"nicholas.edwards@x.dummyjson.com"},{"rating":5,"comment":"Awesome product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Zachary Lee","reviewerEmail":"zachary.lee@x.dummyjson.com"},{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nova Cooper","reviewerEmail":"nova.cooper@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":43,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5906686116469","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/dog-food/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/dog-food/thumbnail.webp"},{"id":23,"title":"Eggs","description":"Fresh eggs, a versatile ingredient for baking, cooking, or breakfast.","category":"groceries","price":2.99,"discountPercentage":11.05,"rating":2.53,"stock":9,"tags":["dairy"],"sku":"GRO-BRD-EGG-023","weight":2,"dimensions":{"width":11.42,"height":7.44,"depth":16.95},"warrantyInformation":"1 week warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Disappointing product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Penelope King","reviewerEmail":"penelope.king@x.dummyjson.com"},{"rating":3,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Tyler","reviewerEmail":"eleanor.tyler@x.dummyjson.com"},{"rating":4,"comment":"Very pleased!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Benjamin Foster","reviewerEmail":"benjamin.foster@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":32,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"3478638588469","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/eggs/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/eggs/thumbnail.webp"},{"id":24,"title":"Fish Steak","description":"Quality fish steak, suitable for grilling, baking, or pan-searing.","category":"groceries","price":14.99,"discountPercentage":4.23,"rating":3.78,"stock":74,"tags":["seafood"],"sku":"GRO-BRD-FIS-024","weight":6,"dimensions":{"width":14.95,"height":26.31,"depth":11.27},"warrantyInformation":"1 month warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Would not buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Caleb Perkins","reviewerEmail":"caleb.perkins@x.dummyjson.com"},{"rating":5,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Isabella Jackson","reviewerEmail":"isabella.jackson@x.dummyjson.com"},{"rating":4,"comment":"Great value for money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nathan Dixon","reviewerEmail":"nathan.dixon@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":50,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"9595036192098","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/fish-steak/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/fish-steak/thumbnail.webp"},{"id":25,"title":"Green Bell Pepper","description":"Fresh and vibrant green bell pepper, perfect for adding color and flavor to your dishes.","category":"groceries","price":1.29,"discountPercentage":0.16,"rating":3.25,"stock":33,"tags":["vegetables"],"sku":"GRO-BRD-GRE-025","weight":2,"dimensions":{"width":15.33,"height":26.65,"depth":14.44},"warrantyInformation":"1 month warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Avery Carter","reviewerEmail":"avery.carter@x.dummyjson.com"},{"rating":3,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Henry Hill","reviewerEmail":"henry.hill@x.dummyjson.com"},{"rating":5,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Addison Wright","reviewerEmail":"addison.wright@x.dummyjson.com"}],"returnPolicy":"30 days return policy","minimumOrderQuantity":12,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"2365227493323","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/green-bell-pepper/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/green-bell-pepper/thumbnail.webp"},{"id":26,"title":"Green Chili Pepper","description":"Spicy green chili pepper, ideal for adding heat to your favorite recipes.","category":"groceries","price":0.99,"discountPercentage":1,"rating":3.66,"stock":3,"tags":["vegetables"],"sku":"GRO-BRD-GRE-026","weight":7,"dimensions":{"width":15.38,"height":18.12,"depth":19.92},"warrantyInformation":"2 year warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"Low Stock","reviews":[{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Luna Russell","reviewerEmail":"luna.russell@x.dummyjson.com"},{"rating":1,"comment":"Waste of money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Noah Lewis","reviewerEmail":"noah.lewis@x.dummyjson.com"},{"rating":3,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Clara Berry","reviewerEmail":"clara.berry@x.dummyjson.com"}],"returnPolicy":"30 days return policy","minimumOrderQuantity":39,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"9335000538563","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/green-chili-pepper/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/green-chili-pepper/thumbnail.webp"},{"id":27,"title":"Honey Jar","description":"Pure and natural honey in a convenient jar, perfect for sweetening beverages or drizzling over food.","category":"groceries","price":6.99,"discountPercentage":14.4,"rating":3.97,"stock":34,"tags":["condiments"],"sku":"GRO-BRD-HON-027","weight":2,"dimensions":{"width":9.28,"height":21.72,"depth":17.74},"warrantyInformation":"1 month warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":1,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Autumn Gomez","reviewerEmail":"autumn.gomez@x.dummyjson.com"},{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Benjamin Wilson","reviewerEmail":"benjamin.wilson@x.dummyjson.com"},{"rating":2,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nicholas Edwards","reviewerEmail":"nicholas.edwards@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":47,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"6354306346329","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/honey-jar/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/honey-jar/thumbnail.webp"},{"id":28,"title":"Ice Cream","description":"Creamy and delicious ice cream, available in various flavors for a delightful treat.","category":"groceries","price":5.49,"discountPercentage":8.69,"rating":3.39,"stock":27,"tags":["desserts"],"sku":"GRO-BRD-CRE-028","weight":1,"dimensions":{"width":14.83,"height":15.07,"depth":24.2},"warrantyInformation":"1 month warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Very pleased!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Elijah Cruz","reviewerEmail":"elijah.cruz@x.dummyjson.com"},{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Jace Smith","reviewerEmail":"jace.smith@x.dummyjson.com"},{"rating":5,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Sadie Morales","reviewerEmail":"sadie.morales@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":42,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"0788954559076","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/ice-cream/1.webp","https://cdn.dummyjson.com/product-images/groceries/ice-cream/2.webp","https://cdn.dummyjson.com/product-images/groceries/ice-cream/3.webp","https://cdn.dummyjson.com/product-images/groceries/ice-cream/4.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/ice-cream/thumbnail.webp"},{"id":29,"title":"Juice","description":"Refreshing fruit juice, packed with vitamins and great for staying hydrated.","category":"groceries","price":3.99,"discountPercentage":12.06,"rating":3.94,"stock":50,"tags":["beverages"],"sku":"GRO-BRD-JUI-029","weight":1,"dimensions":{"width":18.56,"height":21.46,"depth":28.02},"warrantyInformation":"6 months warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nolan Gonzalez","reviewerEmail":"nolan.gonzalez@x.dummyjson.com"},{"rating":4,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Bella Grant","reviewerEmail":"bella.grant@x.dummyjson.com"},{"rating":5,"comment":"Awesome product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Aria Flores","reviewerEmail":"aria.flores@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":25,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"6936112580956","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/juice/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/juice/thumbnail.webp"},{"id":30,"title":"Kiwi","description":"Nutrient-rich kiwi, perfect for snacking or adding a tropical twist to your dishes.","category":"groceries","price":2.49,"discountPercentage":15.22,"rating":4.93,"stock":99,"tags":["fruits"],"sku":"GRO-BRD-KIW-030","weight":5,"dimensions":{"width":19.4,"height":18.67,"depth":17.13},"warrantyInformation":"6 months warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Emily Brown","reviewerEmail":"emily.brown@x.dummyjson.com"},{"rating":2,"comment":"Would not buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Jackson Morales","reviewerEmail":"jackson.morales@x.dummyjson.com"},{"rating":4,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nora Russell","reviewerEmail":"nora.russell@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":30,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"2530169917252","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/kiwi/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/kiwi/thumbnail.webp"}],"total":194,"skip":0,"limit":30}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000 ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body contains products array | 1 | 0 | 0 |
| products array is not empty | 1 | 0 | 0 |
| Each product has id, title and price | 1 | 0 | 0 |
| each product id is number,title is string, price is number | 1 | 0 | 0 |
| response body contains pagination fields | 1 | 0 | 0 |
| products count does not exceed limit | 1 | 0 | 0 |
| each product price is not negative | 1 | 0 | 0 |
| Total | 10 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Product-By ID
## Overview
This endpoint retrieves a specific product by its unique identifier. It returns detailed information about a single product from the DummyJSON API.
## Purpose
This endpoint is used to:
- View detailed information about a specific product
- Retrieve product data for display on product detail pages
- Fetch product information for inventory management or catalog systems
- Validate product existence and details in the system
## Expected Behavior
When this request is executed successfully, it returns comprehensive information about the requested product, including its ID, title, description, category, and price. The response is delivered in JSON format with a 200 OK status code.
## Request Details
- **HTTP Method**: `GET`
- **Endpoint**: `https://dummyjson.com/products/1`
- **Path Variables**:
- `product_id` - The unique identifier of the product to retrieve
## Variables Used
- **baseUrl**: The base URL for the DummyJSON API
- **product_id**: The unique identifier of the product to retrieve (numeric value)
## Response Details
- **Status Code**: `200 OK`
- **Content-Type**: `application/json`
- **Response Body Structure**:
``` json
{
"id": number,
"title": string,
"description": string,
"category": string,
"price": number
}
```
### Response Fields:
- `id` (number): The unique identifier of the product
- `title` (string): The name/title of the product
- `description` (string): Detailed description of the product
- `category` (string): The category to which the product belongs
- `price` (number): The price of the product
## Test Validations
This request includes the following automated test assertions:
- ✓ **Status code is 200**: Verifies the request was successful
- ✓ **Response time is less than 2000ms**: Ensures the API responds within acceptable performance limits
- ✓ **Content-Type is application/json**: Confirms the response format is JSON
- ✓ **Response body is a JSON object**: Validates the response structure
- ✓ **Response body contains required fields**: Checks for presence of `id`, `title`, `description`, `category`, and `price`
- ✓ **Required fields have correct data types**: Validates that:
- `id` is a number
- `title` is a string
- `description` is a string
- `category` is a string
- `price` is a number
- ✓ **Returned product id matches requested product id**: Ensures the correct product was retrieved
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 18fd24c3-9bb1-4dc5-97e4-272dd4bdd8f9 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:54 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 99 |
| x-ratelimit-reset | 1769530921 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"5e6-bX+IgjHKZz+TflDmEXfyyaBO9Hk" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| Age | 190679 |
| Cache-Control | no-store |
| cf-cache-status | HIT |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=dZJyDa13%2Fyo6vigma7%2F5L63ervLrBQPutUjPYCl%2FDIXmvD6g892PY3f4nwKv0hBzx%2F7%2B2m2GORAj7Bq6qAQQ8uC1V5u%2B8jfMwvPp6fJmkPb03WTx2M6IeYE%3D"}]} |
| CF-RAY | 9c5bc53b9ff50c5b-AMM |
{"id":1,"title":"Essence Mascara Lash Princess","description":"The Essence Mascara Lash Princess is a popular mascara known for its volumizing and lengthening effects. Achieve dramatic lashes with this long-lasting and cruelty-free formula.","category":"beauty","price":9.99,"discountPercentage":10.48,"rating":2.56,"stock":99,"tags":["beauty","mascara"],"brand":"Essence","sku":"BEA-ESS-ESS-001","weight":4,"dimensions":{"width":15.14,"height":13.08,"depth":22.99},"warrantyInformation":"1 week warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Collins","reviewerEmail":"eleanor.collins@x.dummyjson.com"},{"rating":4,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lucas Gordon","reviewerEmail":"lucas.gordon@x.dummyjson.com"},{"rating":5,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Collins","reviewerEmail":"eleanor.collins@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":48,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5784719087687","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/thumbnail.webp"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body contains required fields | 1 | 0 | 0 |
| required fields have correct data types | 1 | 0 | 0 |
| returned product id matches requested product id | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Search Product-By Query
## Overview
This endpoint allows users to search for products in the DummyJSON API by providing a search query. The API returns a list of products that match the search criteria based on product titles and descriptions.
## Purpose
To enable product search functionality by accepting a query parameter and returning relevant products from the database. This is commonly used for implementing search features in e-commerce applications.
## Expected Behavior
- Accepts a search query string as a parameter
- Returns products where the query matches either the product title or description
- Returns at least one product for valid search queries
- Responds with a 200 status code for successful searches
- Returns results in JSON format within 2000ms
## Request Details
**Method:** `GET`
**URL:** `https://dummyjson.com/products/search?q=phone`
**Query Parameters:**
- `q` (required): The search query string to filter products. This parameter accepts text that will be matched against product titles and descriptions.
**Headers:** None specified (default headers apply)
## Variables Used
- **`baseUrl`**: The base URL for the DummyJSON API endpoint. This variable should point to the API's root URL (e.g., `https://dummyjson.com`).
- **`product_query`**: The search term or phrase used to find matching products. This variable contains the actual search string that will be passed to the `q` query parameter.
## Response Details
**Structure:**
The response returns a JSON object containing an array of product objects.
**Fields:**
- `products` (array): An array of product objects matching the search criteria
- `id` (number): Unique identifier for the product
- `title` (string): Product name/title
- `price` (number): Product price
- `description` (string): Product description (used in search matching)
- Additional product fields may be included
**Data Types:**
- Product ID: Number
- Product Title: String
- Product Price: Number
- Products Array: Array of objects
## Test Validations
This request includes comprehensive automated tests to validate the API response:
1. **Status Code Validation**: Verifies that the response returns a 200 OK status code, indicating successful request processing.
2. **Performance Check**: Ensures the response time is less than 2000 milliseconds to maintain acceptable API performance.
3. **Content-Type Validation**: Confirms that the response Content-Type header is `application/json`, ensuring proper data format.
4. **Response Structure Validation**: Checks that the response body contains a `products` property that is an array.
5. **Non-Empty Results**: Validates that the search returns at least one product for valid search queries.
6. **Required Fields Presence**: Verifies that each product in the results contains the required fields: `id`, `title`, and `price`.
7. **Data Type Validation**: Ensures that each product's fields have the correct data types:
- `id` must be a number
- `title` must be a string
- `price` must be a number
8. **Search Relevance**: Confirms that the search query appears in either the product title or description of returned products, validating search accuracy.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d9b061bf-f627-463a-a606-8140b791b8ce |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:54 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 89 |
| x-ratelimit-reset | 1769721597 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"91a2-RFRCC1oz+o2Uvyk0nOQo9Pf5Q2g" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=JP1Qs5tmMSLd18avqnwH3LfJS0wR%2Bdu8d%2BTytN869GMpkxCWO5JTIr5HVI%2F0avFtaPoKxxqwz0SyEAjhepCC65ixG7pZS9tWDl9anM7rsC2uXO9w3bcVVB0%3D"}]} |
| CF-RAY | 9c5bc53c49f90c5b-AMM |
{"products":[{"id":101,"title":"Apple AirPods Max Silver","description":"The Apple AirPods Max in Silver are premium over-ear headphones with high-fidelity audio, adaptive EQ, and active noise cancellation. Experience immersive sound in style.","category":"mobile-accessories","price":549.99,"discountPercentage":13.67,"rating":3.47,"stock":59,"tags":["electronics","over-ear headphones"],"brand":"Apple","sku":"MOB-APP-APP-101","weight":2,"dimensions":{"width":24.88,"height":14.9,"depth":27.54},"warrantyInformation":"No warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Henry Adams","reviewerEmail":"henry.adams@x.dummyjson.com"},{"rating":4,"comment":"Very happy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Elijah Cruz","reviewerEmail":"elijah.cruz@x.dummyjson.com"},{"rating":4,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"William Lopez","reviewerEmail":"william.lopez@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"4062176053732","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/apple-airpods-max-silver/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/apple-airpods-max-silver/thumbnail.webp"},{"id":104,"title":"Apple iPhone Charger","description":"The Apple iPhone Charger is a high-quality charger designed for fast and efficient charging of your iPhone. Ensure your device stays powered up and ready to go.","category":"mobile-accessories","price":19.99,"discountPercentage":18.52,"rating":4.15,"stock":31,"tags":["electronics","chargers"],"brand":"Apple","sku":"MOB-APP-APP-104","weight":1,"dimensions":{"width":13.63,"height":26.25,"depth":5.95},"warrantyInformation":"1 year warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":1,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Sadie Morales","reviewerEmail":"sadie.morales@x.dummyjson.com"},{"rating":5,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lily Torres","reviewerEmail":"lily.torres@x.dummyjson.com"},{"rating":2,"comment":"Waste of money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Luke Cooper","reviewerEmail":"luke.cooper@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":14,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"0879776541417","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/apple-iphone-charger/1.webp","https://cdn.dummyjson.com/product-images/mobile-accessories/apple-iphone-charger/2.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/apple-iphone-charger/thumbnail.webp"},{"id":105,"title":"Apple MagSafe Battery Pack","description":"The Apple MagSafe Battery Pack is a portable and convenient way to add extra battery life to your MagSafe-compatible iPhone. Attach it magnetically for a secure connection.","category":"mobile-accessories","price":99.99,"discountPercentage":17.17,"rating":3.62,"stock":1,"tags":["electronics","power banks"],"brand":"Apple","sku":"MOB-APP-APP-105","weight":6,"dimensions":{"width":15.4,"height":11.89,"depth":19.67},"warrantyInformation":"2 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"Low Stock","reviews":[{"rating":2,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Stella Morris","reviewerEmail":"stella.morris@x.dummyjson.com"},{"rating":2,"comment":"Not as described!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Henry Adams","reviewerEmail":"henry.adams@x.dummyjson.com"},{"rating":5,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Cameron Burke","reviewerEmail":"cameron.burke@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":4,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5157424897794","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/apple-magsafe-battery-pack/1.webp","https://cdn.dummyjson.com/product-images/mobile-accessories/apple-magsafe-battery-pack/2.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/apple-magsafe-battery-pack/thumbnail.webp"},{"id":107,"title":"Beats Flex Wireless Earphones","description":"The Beats Flex Wireless Earphones offer a comfortable and versatile audio experience. With magnetic earbuds and up to 12 hours of battery life, they are ideal for everyday use.","category":"mobile-accessories","price":49.99,"discountPercentage":5.73,"rating":4.24,"stock":50,"tags":["electronics","wireless earphones"],"brand":"Beats","sku":"MOB-BEA-BEA-107","weight":8,"dimensions":{"width":17.86,"height":25.74,"depth":23.09},"warrantyInformation":"1 year warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Disappointing product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"William Gonzalez","reviewerEmail":"william.gonzalez@x.dummyjson.com"},{"rating":5,"comment":"Very pleased!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Gabriel Mitchell","reviewerEmail":"gabriel.mitchell@x.dummyjson.com"},{"rating":2,"comment":"Not worth the price!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Gabriel Adams","reviewerEmail":"gabriel.adams@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":17,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"1741271692174","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/beats-flex-wireless-earphones/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/beats-flex-wireless-earphones/thumbnail.webp"},{"id":108,"title":"iPhone 12 Silicone Case with MagSafe Plum","description":"The iPhone 12 Silicone Case with MagSafe in Plum is a stylish and protective case designed for the iPhone 12. It features MagSafe technology for easy attachment of accessories.","category":"mobile-accessories","price":29.99,"discountPercentage":13.85,"rating":3.62,"stock":69,"tags":["electronics","phone accessories"],"brand":"Apple","sku":"MOB-APP-IPH-108","weight":7,"dimensions":{"width":12.49,"height":11.29,"depth":23.52},"warrantyInformation":"3 months warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Would not buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Penelope King","reviewerEmail":"penelope.king@x.dummyjson.com"},{"rating":5,"comment":"Great value for money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Isabella Anderson","reviewerEmail":"isabella.anderson@x.dummyjson.com"},{"rating":5,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Claire Foster","reviewerEmail":"claire.foster@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":4,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"8156838251449","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/iphone-12-silicone-case-with-magsafe-plum/1.webp","https://cdn.dummyjson.com/product-images/mobile-accessories/iphone-12-silicone-case-with-magsafe-plum/2.webp","https://cdn.dummyjson.com/product-images/mobile-accessories/iphone-12-silicone-case-with-magsafe-plum/3.webp","https://cdn.dummyjson.com/product-images/mobile-accessories/iphone-12-silicone-case-with-magsafe-plum/4.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/iphone-12-silicone-case-with-magsafe-plum/thumbnail.webp"},{"id":110,"title":"Selfie Lamp with iPhone","description":"The Selfie Lamp with iPhone is a portable and adjustable LED light designed to enhance your selfies and video calls. Attach it to your iPhone for well-lit photos.","category":"mobile-accessories","price":14.99,"discountPercentage":19.4,"rating":3.55,"stock":58,"tags":["electronics","selfie accessories"],"brand":"GadgetMaster","sku":"MOB-GAD-SEL-110","weight":10,"dimensions":{"width":5.26,"height":13.84,"depth":22.83},"warrantyInformation":"Lifetime warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Luke Cooper","reviewerEmail":"luke.cooper@x.dummyjson.com"},{"rating":3,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Caleb Perkins","reviewerEmail":"caleb.perkins@x.dummyjson.com"},{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Benjamin Wilson","reviewerEmail":"benjamin.wilson@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":22,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"4372781189895","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/selfie-lamp-with-iphone/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/selfie-lamp-with-iphone/thumbnail.webp"},{"id":111,"title":"Selfie Stick Monopod","description":"The Selfie Stick Monopod is a extendable and foldable device for capturing the perfect selfie or group photo. Compatible with smartphones and cameras.","category":"mobile-accessories","price":12.99,"discountPercentage":19.12,"rating":3.88,"stock":11,"tags":["electronics","selfie accessories"],"brand":"SnapTech","sku":"MOB-SNA-SEL-111","weight":2,"dimensions":{"width":24.76,"height":26.38,"depth":21.39},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Ryan Graham","reviewerEmail":"ryan.graham@x.dummyjson.com"},{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nora Russell","reviewerEmail":"nora.russell@x.dummyjson.com"},{"rating":1,"comment":"Very dissatisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Luna Perez","reviewerEmail":"luna.perez@x.dummyjson.com"}],"returnPolicy":"30 days return policy","minimumOrderQuantity":8,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"7063982050226","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/selfie-stick-monopod/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/selfie-stick-monopod/thumbnail.webp"},{"id":121,"title":"iPhone 5s","description":"The iPhone 5s is a classic smartphone known for its compact design and advanced features during its release. While it's an older model, it still provides a reliable user experience.","category":"smartphones","price":199.99,"discountPercentage":12.91,"rating":2.83,"stock":25,"tags":["smartphones","apple"],"brand":"Apple","sku":"SMA-APP-IPH-121","weight":2,"dimensions":{"width":5.29,"height":18.38,"depth":17.72},"warrantyInformation":"Lifetime warranty","shippingInformation":"Ships in 1 month","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Jace Smith","reviewerEmail":"jace.smith@x.dummyjson.com"},{"rating":1,"comment":"Not as described!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Logan Torres","reviewerEmail":"logan.torres@x.dummyjson.com"},{"rating":5,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Harper Kelly","reviewerEmail":"harper.kelly@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"8814683940853","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/iphone-5s/1.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-5s/2.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-5s/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/iphone-5s/thumbnail.webp"},{"id":122,"title":"iPhone 6","description":"The iPhone 6 is a stylish and capable smartphone with a larger display and improved performance. It introduced new features and design elements, making it a popular choice in its time.","category":"smartphones","price":299.99,"discountPercentage":6.69,"rating":3.41,"stock":60,"tags":["smartphones","apple"],"brand":"Apple","sku":"SMA-APP-IPH-122","weight":7,"dimensions":{"width":11,"height":9.1,"depth":9.67},"warrantyInformation":"1 month warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Disappointing product!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Stella Morris","reviewerEmail":"stella.morris@x.dummyjson.com"},{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Nolan Gonzalez","reviewerEmail":"nolan.gonzalez@x.dummyjson.com"},{"rating":5,"comment":"Great value for money!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Benjamin Foster","reviewerEmail":"benjamin.foster@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":5,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"9922357685013","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/iphone-6/1.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-6/2.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-6/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/iphone-6/thumbnail.webp"},{"id":123,"title":"iPhone 13 Pro","description":"The iPhone 13 Pro is a cutting-edge smartphone with a powerful camera system, high-performance chip, and stunning display. It offers advanced features for users who demand top-notch technology.","category":"smartphones","price":1099.99,"discountPercentage":9.37,"rating":4.12,"stock":56,"tags":["smartphones","apple"],"brand":"Apple","sku":"SMA-APP-IPH-123","weight":8,"dimensions":{"width":12.63,"height":5.28,"depth":14.29},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Christian Perez","reviewerEmail":"christian.perez@x.dummyjson.com"},{"rating":3,"comment":"Not worth the price!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Liam Gonzalez","reviewerEmail":"liam.gonzalez@x.dummyjson.com"},{"rating":5,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Tristan Scott","reviewerEmail":"tristan.scott@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"4998438802308","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/iphone-13-pro/1.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-13-pro/2.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-13-pro/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/iphone-13-pro/thumbnail.webp"},{"id":124,"title":"iPhone X","description":"The iPhone X is a flagship smartphone featuring a bezel-less OLED display, facial recognition technology (Face ID), and impressive performance. It represents a milestone in iPhone design and innovation.","category":"smartphones","price":899.99,"discountPercentage":19.59,"rating":2.51,"stock":37,"tags":["smartphones","apple"],"brand":"Apple","sku":"SMA-APP-IPH-124","weight":1,"dimensions":{"width":21.88,"height":24.19,"depth":14.19},"warrantyInformation":"3 months warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Tyler Davis","reviewerEmail":"tyler.davis@x.dummyjson.com"},{"rating":5,"comment":"Great product!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Aria Parker","reviewerEmail":"aria.parker@x.dummyjson.com"},{"rating":2,"comment":"Not as described!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Lily Torres","reviewerEmail":"lily.torres@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"3034949322264","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/iphone-x/1.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-x/2.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-x/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/iphone-x/thumbnail.webp"},{"id":125,"title":"Oppo A57","description":"The Oppo A57 is a mid-range smartphone known for its sleek design and capable features. It offers a balance of performance and affordability, making it a popular choice.","category":"smartphones","price":249.99,"discountPercentage":2.43,"rating":3.94,"stock":19,"tags":["smartphones","oppo"],"brand":"Oppo","sku":"SMA-OPP-OPP-125","weight":5,"dimensions":{"width":7.2,"height":10.74,"depth":23.68},"warrantyInformation":"Lifetime warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Scarlett Wright","reviewerEmail":"scarlett.wright@x.dummyjson.com"},{"rating":5,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Jacob Cooper","reviewerEmail":"jacob.cooper@x.dummyjson.com"},{"rating":2,"comment":"Poor quality!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Zoe Nicholson","reviewerEmail":"zoe.nicholson@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"0651223722522","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/oppo-a57/1.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-a57/2.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-a57/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/oppo-a57/thumbnail.webp"},{"id":126,"title":"Oppo F19 Pro Plus","description":"The Oppo F19 Pro Plus is a feature-rich smartphone with a focus on camera capabilities. It boasts advanced photography features and a powerful performance for a premium user experience.","category":"smartphones","price":399.99,"discountPercentage":18.64,"rating":3.51,"stock":78,"tags":["smartphones","oppo"],"brand":"Oppo","sku":"SMA-OPP-OPP-126","weight":6,"dimensions":{"width":6.78,"height":25.17,"depth":8.4},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Very happy with my purchase!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Emily Johnson","reviewerEmail":"emily.johnson@x.dummyjson.com"},{"rating":5,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Jaxon Barnes","reviewerEmail":"jaxon.barnes@x.dummyjson.com"},{"rating":4,"comment":"Would buy again!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Nova Cooper","reviewerEmail":"nova.cooper@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"8576893968169","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/oppo-f19-pro-plus/1.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-f19-pro-plus/2.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-f19-pro-plus/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/oppo-f19-pro-plus/thumbnail.webp"},{"id":127,"title":"Oppo K1","description":"The Oppo K1 series offers a range of smartphones with various features and specifications. Known for their stylish design and reliable performance, the Oppo K1 series caters to diverse user preferences.","category":"smartphones","price":299.99,"discountPercentage":18.29,"rating":4.25,"stock":55,"tags":["smartphones","oppo"],"brand":"Oppo","sku":"SMA-OPP-OPP-127","weight":5,"dimensions":{"width":13.89,"height":10.63,"depth":16.6},"warrantyInformation":"1 month warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Very pleased!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Christopher West","reviewerEmail":"christopher.west@x.dummyjson.com"},{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Mia Miller","reviewerEmail":"mia.miller@x.dummyjson.com"},{"rating":2,"comment":"Very dissatisfied!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Ella Adams","reviewerEmail":"ella.adams@x.dummyjson.com"}],"returnPolicy":"30 days return policy","minimumOrderQuantity":5,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"3106827888743","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/oppo-k1/1.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-k1/2.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-k1/3.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-k1/4.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/oppo-k1/thumbnail.webp"},{"id":128,"title":"Realme C35","description":"The Realme C35 is a budget-friendly smartphone with a focus on providing essential features for everyday use. It offers a reliable performance and user-friendly experience.","category":"smartphones","price":149.99,"discountPercentage":15.3,"rating":4.2,"stock":48,"tags":["smartphones","realme"],"brand":"Realme","sku":"SMA-REA-REA-128","weight":2,"dimensions":{"width":25.28,"height":8.14,"depth":29.53},"warrantyInformation":"3 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Penelope King","reviewerEmail":"penelope.king@x.dummyjson.com"},{"rating":2,"comment":"Very unhappy with my purchase!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Asher Scott","reviewerEmail":"asher.scott@x.dummyjson.com"},{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Henry Adams","reviewerEmail":"henry.adams@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"7825844344364","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/realme-c35/1.webp","https://cdn.dummyjson.com/product-images/smartphones/realme-c35/2.webp","https://cdn.dummyjson.com/product-images/smartphones/realme-c35/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/realme-c35/thumbnail.webp"},{"id":129,"title":"Realme X","description":"The Realme X is a mid-range smartphone known for its sleek design and impressive display. It offers a good balance of performance and camera capabilities for users seeking a quality device.","category":"smartphones","price":299.99,"discountPercentage":6.95,"rating":3.7,"stock":12,"tags":["smartphones","realme"],"brand":"Realme","sku":"SMA-REA-REA-129","weight":4,"dimensions":{"width":25.59,"height":21.42,"depth":12.75},"warrantyInformation":"1 month warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Hazel Evans","reviewerEmail":"hazel.evans@x.dummyjson.com"},{"rating":5,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Brayden Fleming","reviewerEmail":"brayden.fleming@x.dummyjson.com"},{"rating":5,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Madison Stewart","reviewerEmail":"madison.stewart@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"4948452391831","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/realme-x/1.webp","https://cdn.dummyjson.com/product-images/smartphones/realme-x/2.webp","https://cdn.dummyjson.com/product-images/smartphones/realme-x/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/realme-x/thumbnail.webp"},{"id":130,"title":"Realme XT","description":"The Realme XT is a feature-rich smartphone with a focus on camera technology. It comes equipped with advanced camera sensors, delivering high-quality photos and videos for photography enthusiasts.","category":"smartphones","price":349.99,"discountPercentage":11.51,"rating":4.58,"stock":80,"tags":["smartphones","realme"],"brand":"Realme","sku":"SMA-REA-REA-130","weight":3,"dimensions":{"width":24.98,"height":26.73,"depth":6.5},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 1 month","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Emily Brown","reviewerEmail":"emily.brown@x.dummyjson.com"},{"rating":3,"comment":"Not as described!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Ella Cook","reviewerEmail":"ella.cook@x.dummyjson.com"},{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Layla Sullivan","reviewerEmail":"layla.sullivan@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"6151817227632","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/realme-xt/1.webp","https://cdn.dummyjson.com/product-images/smartphones/realme-xt/2.webp","https://cdn.dummyjson.com/product-images/smartphones/realme-xt/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/realme-xt/thumbnail.webp"},{"id":131,"title":"Samsung Galaxy S7","description":"The Samsung Galaxy S7 is a flagship smartphone known for its sleek design and advanced features. It features a high-resolution display, powerful camera, and robust performance.","category":"smartphones","price":299.99,"discountPercentage":19.55,"rating":3.3,"stock":67,"tags":["smartphones","samsung galaxy"],"brand":"Samsung","sku":"SMA-SAM-SAM-131","weight":10,"dimensions":{"width":13.55,"height":24.24,"depth":5.63},"warrantyInformation":"3 months warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":1,"comment":"Not as described!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Julian James","reviewerEmail":"julian.james@x.dummyjson.com"},{"rating":4,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Lucas Gordon","reviewerEmail":"lucas.gordon@x.dummyjson.com"},{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Ava Taylor","reviewerEmail":"ava.taylor@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"7557912146622","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s7/1.webp","https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s7/2.webp","https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s7/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s7/thumbnail.webp"},{"id":132,"title":"Samsung Galaxy S8","description":"The Samsung Galaxy S8 is a premium smartphone with an Infinity Display, offering a stunning visual experience. It boasts advanced camera capabilities and cutting-edge technology.","category":"smartphones","price":499.99,"discountPercentage":19.45,"rating":4.4,"stock":0,"tags":["smartphones","samsung galaxy"],"brand":"Samsung","sku":"SMA-SAM-SAM-132","weight":6,"dimensions":{"width":23.05,"height":26.88,"depth":15.73},"warrantyInformation":"2 year warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"Out of Stock","reviews":[{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Owen Fisher","reviewerEmail":"owen.fisher@x.dummyjson.com"},{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Clara Berry","reviewerEmail":"clara.berry@x.dummyjson.com"},{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Tyler Davis","reviewerEmail":"tyler.davis@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":4,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"5995499013336","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s8/1.webp","https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s8/2.webp","https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s8/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s8/thumbnail.webp"},{"id":133,"title":"Samsung Galaxy S10","description":"The Samsung Galaxy S10 is a flagship device featuring a dynamic AMOLED display, versatile camera system, and powerful performance. It represents innovation and excellence in smartphone technology.","category":"smartphones","price":699.99,"discountPercentage":5.59,"rating":3.06,"stock":19,"tags":["smartphones","samsung galaxy"],"brand":"Samsung","sku":"SMA-SAM-SAM-133","weight":9,"dimensions":{"width":27.41,"height":15.26,"depth":27.02},"warrantyInformation":"No warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Tristan Scott","reviewerEmail":"tristan.scott@x.dummyjson.com"},{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Christopher West","reviewerEmail":"christopher.west@x.dummyjson.com"},{"rating":2,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Amelia Perez","reviewerEmail":"amelia.perez@x.dummyjson.com"}],"returnPolicy":"30 days return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"4676898229465","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s10/1.webp","https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s10/2.webp","https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s10/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s10/thumbnail.webp"},{"id":134,"title":"Vivo S1","description":"The Vivo S1 is a stylish and mid-range smartphone offering a blend of design and performance. It features a vibrant display, capable camera system, and reliable functionality.","category":"smartphones","price":249.99,"discountPercentage":10.17,"rating":3.5,"stock":50,"tags":["smartphones","vivo"],"brand":"Vivo","sku":"SMA-VIV-VIV-134","weight":4,"dimensions":{"width":14.06,"height":11.79,"depth":6.78},"warrantyInformation":"6 months warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Samantha Martinez","reviewerEmail":"samantha.martinez@x.dummyjson.com"},{"rating":3,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Logan Lee","reviewerEmail":"logan.lee@x.dummyjson.com"},{"rating":4,"comment":"Would buy again!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Sophia Jones","reviewerEmail":"sophia.jones@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"8575699153333","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/vivo-s1/1.webp","https://cdn.dummyjson.com/product-images/smartphones/vivo-s1/2.webp","https://cdn.dummyjson.com/product-images/smartphones/vivo-s1/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/vivo-s1/thumbnail.webp"},{"id":135,"title":"Vivo V9","description":"The Vivo V9 is a smartphone known for its sleek design and emphasis on capturing high-quality selfies. It features a notch display, dual-camera setup, and a modern design.","category":"smartphones","price":299.99,"discountPercentage":17.67,"rating":3.6,"stock":82,"tags":["smartphones","vivo"],"brand":"Vivo","sku":"SMA-VIV-VIV-135","weight":4,"dimensions":{"width":19.85,"height":21.83,"depth":13.04},"warrantyInformation":"2 year warranty","shippingInformation":"Ships in 1 month","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Very unhappy with my purchase!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Logan Lawson","reviewerEmail":"logan.lawson@x.dummyjson.com"},{"rating":5,"comment":"Awesome product!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Layla Young","reviewerEmail":"layla.young@x.dummyjson.com"},{"rating":4,"comment":"Great value for money!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Asher Scott","reviewerEmail":"asher.scott@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"4295398764784","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/vivo-v9/1.webp","https://cdn.dummyjson.com/product-images/smartphones/vivo-v9/2.webp","https://cdn.dummyjson.com/product-images/smartphones/vivo-v9/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/vivo-v9/thumbnail.webp"},{"id":136,"title":"Vivo X21","description":"The Vivo X21 is a premium smartphone with a focus on cutting-edge technology. It features an in-display fingerprint sensor, a high-resolution display, and advanced camera capabilities.","category":"smartphones","price":499.99,"discountPercentage":17.41,"rating":4.26,"stock":7,"tags":["smartphones","vivo"],"brand":"Vivo","sku":"SMA-VIV-VIV-136","weight":10,"dimensions":{"width":22.49,"height":21.62,"depth":27.88},"warrantyInformation":"1 year warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Very pleased!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Liam Gonzalez","reviewerEmail":"liam.gonzalez@x.dummyjson.com"},{"rating":4,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Aurora Barnes","reviewerEmail":"aurora.barnes@x.dummyjson.com"},{"rating":2,"comment":"Not as described!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Evelyn Walker","reviewerEmail":"evelyn.walker@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"9944308291810","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/vivo-x21/1.webp","https://cdn.dummyjson.com/product-images/smartphones/vivo-x21/2.webp","https://cdn.dummyjson.com/product-images/smartphones/vivo-x21/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/vivo-x21/thumbnail.webp"}],"total":23,"skip":0,"limit":23}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000 ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body contains products array | 1 | 0 | 0 |
| search return at least one product | 1 | 0 | 0 |
| each product has required fields | 1 | 0 | 0 |
| required fields have correct data types | 1 | 0 | 0 |
| search query is reflected in the response | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Products with Limit, Skip, and Select
## Overview
This endpoint retrieves a paginated list of products from the DummyJSON API with the ability to control the number of results returned, skip a specified number of products, and select specific fields to include in the response.
## Purpose
This request demonstrates how to:
- Implement pagination using `limit` and `skip` parameters
- Filter response data to include only specific fields using the `select` parameter
- Optimize API responses by requesting only the data needed
- Validate pagination logic and field selection through automated tests
## Expected Behavior
The API should return a subset of products based on the pagination parameters, with each product containing only the fields specified in the `select` parameter. The response includes metadata about the total number of products available and the pagination state.
## Request Details
**Method:** `GET`
**URL:** `https://dummyjson.com/products?limit=10&skip=10&select=title,price`
**Query Parameters:**
- **limit** (integer): Maximum number of products to return in the response. Set to `10` to retrieve 10 products.
- **skip** (integer): Number of products to skip before starting to return results. Set to `10` to skip the first 10 products (useful for pagination).
- **select** (string): Comma-separated list of fields to include in each product object. Set to `title,price` to return only the title and price fields.
## Variables Used
- **baseUrl**: The base URL for the DummyJSON API endpoint (defined in the active environment)
## Response Details
**Structure:**
```json
{
"products": [
{
"id": 11,
"title": "Product Title",
"price": 99.99
}
],
"total": 100,
"skip": 10,
"limit": 10
}
```
**Fields:**
- **products** (array): Array of product objects containing only the selected fields
- **id** (number): Product identifier
- **title** (string): Product name/title
- **price** (number): Product price
- **total** (number): Total number of products available in the database
- **skip** (number): Number of products skipped (echoes the request parameter)
- **limit** (number): Maximum number of products returned (echoes the request parameter)
**Data Types:**
- `products`: Array of objects
- `total`, `skip`, `limit`: Numbers
- `title`: String
- `price`, `id`: Numbers
## Test Validations
This request includes comprehensive automated tests to validate the API response:
1. **Status Code Validation**: Verifies that the response status code is `200 OK`, indicating a successful request.
2. **Performance Check**: Ensures the response time is less than 2000ms to validate API performance.
3. **Content-Type Validation**: Confirms that the response Content-Type header is `application/json`.
4. **Products Array Existence**: Validates that the response body contains a `products` property that is an array.
5. **Required Fields Validation**: Checks that the response includes the required metadata fields: `total`, `skip`, and `limit`.
6. **Limit Parameter Validation**: Verifies that the number of products returned does not exceed the `limit` parameter specified in the request (10 products maximum).
7. **Skip Parameter Validation**: Confirms that pagination is working correctly by checking that the first product's ID equals `skip + 1` (in this case, the first product should have ID 11 when skip=10).
8. **Select Parameter Validation**: Ensures that each product in the response contains only the fields specified in the `select` parameter (`title` and `price`), validating that field filtering is working as expected.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 712d6eed-10f7-4343-95e0-64ec59fbe5b1 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:54 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 94 |
| x-ratelimit-reset | 1769721601 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"24c-Ixzqnac0wdL7dYxmEYVxYgj0DEw" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=caQk15qdCLUkxMy57yhI3wQXt%2B1btboLDe4FRkRZc%2BRWHUD9RpOrRBNY07lJOHTvyTyvDA1zevlyhdn7BYABoRPFNpeOP35ylugJXthiXikJkStxiu2IZpk%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc53e5fdc0c5b-AMM |
{"products":[{"id":11,"title":"Annibale Colombo Bed","price":1899.99},{"id":12,"title":"Annibale Colombo Sofa","price":2499.99},{"id":13,"title":"Bedside Table African Cherry","price":299.99},{"id":14,"title":"Knoll Saarinen Executive Conference Chair","price":499.99},{"id":15,"title":"Wooden Bathroom Sink With Mirror","price":799.99},{"id":16,"title":"Apple","price":1.99},{"id":17,"title":"Beef Steak","price":12.99},{"id":18,"title":"Cat Food","price":8.99},{"id":19,"title":"Chicken Meat","price":9.99},{"id":20,"title":"Cooking Oil","price":4.99}],"total":194,"skip":10,"limit":10}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-Type is application/json | 1 | 0 | 0 |
| response body contains products array | 1 | 0 | 0 |
| response body contains required fields | 1 | 0 | 0 |
| products count is less than or equal to limit | 1 | 0 | 0 |
| products returned are correct based on skip parameter | 1 | 0 | 0 |
| response body contains selected fields | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Add New Product
## Overview
This request creates a new product in the DummyJSON API system by sending product details via a POST request. It validates that the product is successfully created and that the response contains all the submitted information along with a generated product ID.
## Purpose
The primary purpose of this request is to:
- Add a new product to the product catalog
- Verify that the API correctly processes and stores product information
- Ensure the response includes all submitted data plus a system-generated identifier
- Validate API performance and response structure
## Expected Behavior
When executed, this request should:
- Send product details (title, description, category, price) to the API endpoint
- Receive a `201 Created` status code indicating successful product creation
- Return a response containing all the original product fields plus a newly generated `id`
- Complete the operation within 2 seconds
- Return properly formatted JSON data
## Request Details
**Method:** `POST`
**URL:** `https://dummyjson.com/products/add`
**Request Body Structure:**
```json
{
"title": "Red Nail Polish",
"description": "Red Nail Polish with glow effect",
"category": "Beauty",
"price": 5
}
```
**Body Fields:**
- `title` (string): The name of the product
- `description` (string): Detailed description of the product
- `category` (string): Product category classification
- `price` (number): Product price value
## Variables Used
- **`baseUrl`**: The base URL for the DummyJSON API endpoint. This variable is defined in the active environment and allows for easy switching between different API environments (e.g., QA, production).
## Response Details
**Expected Status Code:** `201 Created`
**Response Structure:**
The API returns a JSON object containing all the submitted product fields plus an auto-generated identifier.
**Response Fields:**
- `id` (number): System-generated unique identifier for the newly created product
- `title` (string): Product name as submitted in the request
- `description` (string): Product description as submitted in the request
- `category` (string): Product category as submitted in the request
- `price` (number): Product price as submitted in the request
**Example Response:**
```json
{
"id": 195,
"title": "Red Nail Polish",
"description": "Red Nail Polish with glow effect",
"category": "Beauty",
"price": 5
}
```
## Test Validations
This request includes 7 automated test validations that run after receiving the response:
1. **Status Code Validation**: Verifies that the response status code is `201`, confirming successful product creation.
2. **Performance Validation**: Ensures the response time is less than 2000ms (2 seconds), validating acceptable API performance.
3. **Content-Type Validation**: Checks that the response `Content-Type` header includes `application/json`, confirming proper response format.
4. **Response Structure Validation**: Validates that the response body is a JSON object, ensuring the correct data structure.
5. **ID Field Validation**: Confirms that the response body contains an `id` property and that it is of number data type, verifying the system generated a valid identifier.
6. **Request Body Keys Validation**: Iterates through all keys in the request body and verifies that each key exists in the response, ensuring no data was lost during processing.
7. **Request Body Values Validation**: Compares all values from the request body with corresponding values in the response, confirming that the API accurately stored and returned the submitted product information.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 67ad8c2f-0b38-40ef-adcc-8876867ecc57 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 133 |
{
"title": "Red Nail Polish",
"description":"Red Nail Polish with glow effect",
"category":"Beauty",
"price":5
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:55 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 115 |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 88 |
| x-ratelimit-reset | 1769721597 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"73-zkKcG4JUzvalQo/LgvbqhkmQ7HQ" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=X%2FxoUDjlxkjhtz%2FUCwNPZq%2FWNccq%2BhZ4tmTqgFUhvVaSuCGRMixgW0Xf5wwOfG2uoNoOLlZDjgSXJUP2WnPJ22J7ftePkbTNff0tIqrjUhqK1hj0Y4DHErs%3D"}]} |
| CF-RAY | 9c5bc53ffbe60c5b-AMM |
{"id":195,"title":"Red Nail Polish","price":5,"description":"Red Nail Polish with glow effect","category":"Beauty"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 201 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-Type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body has id key and is number data type | 1 | 0 | 0 |
| returned product contains all request body keys | 1 | 0 | 0 |
| returned product contains all request body values | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Update Product
## Overview
This endpoint allows partial updates to an existing product in the system using the PATCH HTTP method. It enables modification of specific product fields without requiring all product data to be sent in the request.
## Purpose
The primary purpose of this request is to update selected attributes of a product identified by its unique `product_id`. This is particularly useful when you need to modify only certain fields (such as title or category) while leaving other product attributes unchanged.
## Expected Behavior
When executed successfully, this request will:
- Accept a partial product object containing only the fields to be updated
- Update the specified fields for the product matching the provided `product_id`
- Return the complete updated product object in the response
- Validate that the changes were applied correctly through automated tests
## Request Details
**Method:** `PATCH`
**URL:** `https://dummyjson.com/products/1`
**Request Body Structure:**
The request body is sent as raw JSON and includes the fields to be updated:
```json
{
"title": "Lip Gloss",
"category": "Makeup"
}
```
**Fields:**
- `title` (string): The updated product title/name
- `category` (string): The updated product category
## Variables Used
This request utilizes the following variables:
- **`baseUrl`**: The base URL of the API endpoint (e.g., `https://dummyjson.com`)
- **`product_id`**: The unique identifier of the product to be updated
These variables should be defined in your active environment for the request to execute properly.
## Response Details
The API returns a JSON object representing the updated product with the following characteristics:
**Structure:** JSON Object
**Response Fields:**
- Contains all product fields including both updated and unchanged attributes
- The fields specified in the request body (`title`, `category`) will reflect the new values
- Other product fields (such as `id`, `price`, `description`, etc.) remain unchanged
**Data Types:**
- String fields for textual data (title, category, description)
- Numeric fields for quantitative data (id, price, stock)
- The response structure matches the complete product schema
**Key Behavior:** The response returns the full product object after applying the updates, allowing you to verify that only the specified fields were modified while all other data remained intact.
## Test Validations
This request includes 5 automated tests in the post-response script to ensure proper functionality:
1. **Status Code Validation**: Verifies that the response status code is `200`, confirming the update was successful.
2. **Response Time Check**: Ensures the API responds within 2000 milliseconds (2 seconds), validating acceptable performance.
3. **Content-Type Verification**: Confirms that the response `Content-Type` header includes `application/json`, ensuring the correct data format.
4. **Response Structure Validation**: Checks that the response body is a valid JSON object, confirming proper data structure.
5. **Field Update Verification**: Dynamically validates that each field sent in the request body matches the corresponding field in the response, ensuring all specified updates were applied correctly. This test iterates through all keys in the request body and compares them with the response values.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 10287ba3-ec2f-4a5f-a1f9-504461fe6032 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 55 |
{
"title":"Lip Gloss",
"category":"Makeup"
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:55 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 87 |
| x-ratelimit-reset | 1769721597 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"212-MnhZ1KLQAeMJ5PyhRQ885JHlhEk" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=hg4QU8X1cPg59PgJLJbtrFK9f3axObJI4b8zOhhIiGdZD6X0iP7bQ%2BEy%2FABIf1bRJ8Aa3SORhtLLgh7avsknUHXW5%2FTDGzRHBXNSrHjIiG9Jb2KMjaibWFE%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc54198470c5b-AMM |
{"id":1,"title":"Lip Gloss","price":9.99,"discountPercentage":10.48,"stock":99,"rating":2.56,"images":["https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/thumbnail.webp","description":"The Essence Mascara Lash Princess is a popular mascara known for its volumizing and lengthening effects. Achieve dramatic lashes with this long-lasting and cruelty-free formula.","brand":"Essence","category":"Makeup"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| edited fields are updated | 1 | 0 | 0 |
| Total | 5 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Delete Product
## Overview
This endpoint removes a product from the system by its unique identifier. The DELETE operation marks the product as deleted and returns confirmation details including the deletion timestamp.
## Purpose
To permanently delete a specific product from the inventory system using its product ID. This operation is typically used when a product needs to be removed from the catalog or inventory management system.
## Expected Behavior
When a valid product ID is provided, the API will:
- Mark the product as deleted in the system
- Return a confirmation response with deletion status
- Include a timestamp indicating when the deletion occurred
- Respond with a 200 OK status code upon successful deletion
## Request Details
- **Method:** `DELETE`
- **URL:** `https://dummyjson.com/products/1`
- **Request Body:** None required
The endpoint uses a path variable to identify which product to delete. No request body is needed for this operation.
## Variables Used
- **`baseUrl`**: The base URL of the API server (e.g., https://dummyjson.com)
- **`product_id`**: The unique identifier of the product to be deleted
## Response Details
The API returns a JSON object confirming the deletion operation.
**Response Structure:**
```json
{
"isDeleted": boolean,
"deletedOn": string
}
```
**Response Fields:**
- **`isDeleted`** (boolean): Indicates whether the product has been successfully deleted. Returns `true` when deletion is successful.
- **`deletedOn`** (string): A timestamp string representing when the product was deleted from the system.
## Test Validations
The request includes 7 automated test validations to ensure proper API behavior:
1. **Status Code Validation**: Verifies that the response status code is 200, confirming successful deletion
2. **Response Time Check**: Ensures the API responds within 2000 milliseconds for optimal performance
3. **Content-Type Validation**: Confirms the response Content-Type header is `application/json`
4. **Response Structure Validation**: Verifies that the response body is a valid JSON object
5. **isDeleted Property Validation**: Checks that the response contains an `isDeleted` property with a boolean data type
6. **deletedOn Property Validation**: Checks that the response contains a `deletedOn` property with a string data type
7. **Deletion Confirmation**: Validates that the `isDeleted` field is `true`, confirming the product was successfully deleted
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 378e6170-34aa-4a36-b0dc-20363aa12e8f |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:55 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 86 |
| x-ratelimit-reset | 1769721597 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"61e-YB585DY2y7p9KGkvq1u+OtCfDOI" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=d63IT%2Bds5HHrh0CITZrHR5fdBUm%2F6WbuXlFlUTQUwJB9KIxnlzA9zlqymcmUc4ca1c5oetQMkKyLwK%2B4B52vaaVf6WnW4JBT3rfBhW87qGbbsp0IG8G1Z5c%3D"}]} |
| CF-RAY | 9c5bc5432ca70c5b-AMM |
{"id":1,"title":"Essence Mascara Lash Princess","description":"The Essence Mascara Lash Princess is a popular mascara known for its volumizing and lengthening effects. Achieve dramatic lashes with this long-lasting and cruelty-free formula.","category":"beauty","price":9.99,"discountPercentage":10.48,"rating":2.56,"stock":99,"tags":["beauty","mascara"],"brand":"Essence","sku":"BEA-ESS-ESS-001","weight":4,"dimensions":{"width":15.14,"height":13.08,"depth":22.99},"warrantyInformation":"1 week warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Collins","reviewerEmail":"eleanor.collins@x.dummyjson.com"},{"rating":4,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lucas Gordon","reviewerEmail":"lucas.gordon@x.dummyjson.com"},{"rating":5,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Collins","reviewerEmail":"eleanor.collins@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":48,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5784719087687","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/thumbnail.webp","isDeleted":true,"deletedOn":"2026-01-29T21:19:55.453Z"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body has is deleted property with correct data type | 1 | 0 | 0 |
| response body has deleted on property with correct data type | 1 | 0 | 0 |
| product is deleted | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Get Product with Invalid ID
## Overview
This is a negative test case designed to validate the API's error handling capabilities when attempting to retrieve a product using an invalid product ID. The request intentionally uses an invalid identifier to ensure the API responds appropriately with proper error messages and status codes.
## Purpose
The primary purpose of this test is to:
- Verify that the API correctly handles invalid product ID requests
- Ensure appropriate HTTP error status codes are returned (404 Not Found)
- Validate that meaningful error messages are provided to API consumers
- Confirm the API's robustness in handling edge cases and invalid inputs
## Expected Behavior
When this request is executed with an invalid product ID, the API should:
- Return a **404 Not Found** status code
- Provide a JSON response containing an error message
- Include a descriptive message indicating the product was not found
- Handle the error gracefully without server crashes or unexpected behavior
## Request Details
- **HTTP Method:** `GET`
- **Endpoint URL:** `https://dummyjson.com/products/99999999`
- **Request Body:** None (GET requests do not include a request body)
The endpoint follows RESTful conventions for retrieving a single resource by ID, where the product ID is passed as a path parameter.
## Variables Used
This request utilizes the following variables:
| Variable | Description |
|----------|-------------|
| `baseUrl` | The base URL of the API endpoint (e.g., https://dummyjson.com) |
| `invalid_id` | An invalid product identifier used to trigger the error response |
These variables should be configured in the active environment to ensure the test executes correctly.
## Response Details
**Expected Status Code:** `404 Not Found`
**Response Structure:**
The API returns a JSON object containing error information:
```json
{
"message": "Product with id '[invalid_id]' not found"
}
```
**Response Fields:**
- `message` (string): A descriptive error message indicating that the requested product could not be found
**Data Types:**
- The response is a JSON object
- The `message` field contains a string value with details about the error
## Test Validations
This request includes three automated test validations in the post-response script:
### 1. **Status Code Validation**
- **Test Name:** "Status code is 404"
- **Purpose:** Verifies that the API returns the correct HTTP status code (404) when an invalid product ID is provided
- **Validation:** Checks that `pm.response.to.have.status(404)`
### 2. **Error Message Presence**
- **Test Name:** "response body contains error message"
- **Purpose:** Ensures the response body includes a `message` property to communicate the error to the client
- **Validation:** Checks that the response object has a property named "message"
### 3. **Error Message Content**
- **Test Name:** "response body contains proper error message"
- **Purpose:** Validates that the error message is meaningful and specifically indicates the resource was "not found"
- **Validation:** Checks that the message text (case-insensitive) includes the phrase "not found"
All three tests must pass for this negative test case to be considered successful, ensuring comprehensive validation of the API's error handling behavior.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c2276fd4-290f-4541-b58c-639e7411c621 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:55 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 98 |
| x-ratelimit-reset | 1769721603 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"32-zUUkJE53bVqc5DHiuD4GsBHb/1U" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=WT8gKQWIkocn79IXelw7tSb3qbgNr%2FY76c1AYHTuRNzL8zHN4XAOot6GFZKjXIADPvP7ltJLztqFFVmL%2FMPp7ZrlFySbtLGErXKWSiFj2G5iNXHFaWVpKnk%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc544b8f00c5b-AMM |
{"message":"Product with id '99999999' not found"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| response body contains error message | 1 | 0 | 0 |
| response body contains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Delete Product with Invalid ID
## Overview
This is a negative test case designed to validate the API's error handling when attempting to delete a product using an invalid product ID. The request tests whether the API properly rejects deletion attempts with non-existent product identifiers and returns appropriate error responses.
## Purpose
The purpose of this test is to ensure that:
- The API correctly handles invalid product IDs during delete operations
- Proper HTTP status codes are returned for failed deletion attempts
- Error messages are clear and informative
- The API maintains data integrity by preventing operations on non-existent resources
## Expected Behavior
When a DELETE request is sent with an invalid product ID, the API should:
- Return a `404 Not Found` status code
- Provide a JSON response containing an error message
- Include the text "not found" in the error message
- Reject the deletion operation without affecting any existing data
## Request Details
- **Method:** `DELETE`
- **URL:** `https://dummyjson.com/products/99999999`
- **Request Body:** None (DELETE requests typically do not include a request body)
- **Path Variable:** The `invalid_id` variable is used in the URL path to represent a non-existent product identifier
## Variables Used
- **`baseUrl`**: The base URL of the API endpoint (e.g., the root domain and path)
- **`invalid_id`**: A product ID that does not exist in the system, used to trigger the error scenario
## Response Details
The expected response structure for this negative test case:
- **Status Code:** `404` (Not Found)
- **Response Body Structure:**
- `message` (string): An error message describing why the deletion failed
- **Data Types:**
- The response is in JSON format
- The `message` field contains a string value that includes "not found" text
Example response:
```json
{
"message": "Product not found"
}
```
## Test Validations
This request includes three automated test validations in the post-response script:
1. **Status Code Validation**: Verifies that the response status code is `404`, confirming that the API correctly identifies the product as non-existent.
2. **Error Message Property Check**: Ensures that the response body contains a `message` property, validating that the API provides error information in the expected format.
3. **Error Message Content Validation**: Confirms that the error message includes the text "not found" (case-insensitive), ensuring the error message is meaningful and accurately describes the issue.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 68fdd0c2-1ea8-4159-a77a-ee381cee6bb4 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:56 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 85 |
| x-ratelimit-reset | 1769721597 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"32-zUUkJE53bVqc5DHiuD4GsBHb/1U" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=JBfdPg%2FRrOXRniFpumbJCZJhgi1up%2F4QUpXFnZpEl%2F3tAJOTJA1j9FCQzVB%2Fm3z1ujlzlw2NH%2ByEOLfqCqfeO9fZyi7UhAz2QNLyE6l2QWWP7wxowGG5p4I%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc5463d040c5b-AMM |
{"message":"Product with id '99999999' not found"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| response body contains error message | 1 | 0 | 0 |
| response body contains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Carts-List
## Overview
This endpoint retrieves a list of all shopping carts from the DummyJSON API. It provides comprehensive cart information including products, totals, discounts, and user associations.
## Purpose
The primary purpose of this request is to fetch all available carts in the system. This is useful for:
- Monitoring active shopping carts
- Analyzing cart data across users
- Testing cart retrieval functionality
- Validating cart data structure and integrity
## Expected Behaviour
When this request is executed successfully, it returns a JSON response containing an array of cart objects. Each cart includes detailed information about the products added, pricing details, and the associated user.
## Request Details
**HTTP Method:** `GET`
**Endpoint URL:** `https://dummyjson.com/carts`
**Headers:** None required
**Query Parameters:** None
**Path Variables:** None
**Authentication:** None required for this endpoint
## Variables Used
| Variable | Description | Example Value |
| --- | --- | --- |
| `baseUrl` | The base URL for the DummyJSON API | `https://dummyjson.com` |
The `baseUrl` variable is defined in the active environment and should point to the root URL of the DummyJSON API.
## Response Details
The response returns a JSON object with the following structure:
``` json
{
"carts": [
{
"id": number,
"products": array,
"total": number,
"discountedTotal": number,
"userId": number,
"totalProducts": number,
"totalQuantity": number
}
],
"total": number,
"skip": number,
"limit": number
}
```
**Response Fields:**
- `carts` (array): An array containing all cart objects
- `id` (number): Unique identifier for the cart
- `products` (array): Array of product objects in the cart
- `total` (number): Total price before discounts
- `discountedTotal` (number): Total price after applying discounts
- `userId` (number): ID of the user who owns the cart
- `totalProducts` (number): Total number of unique products in the cart
- `totalQuantity` (number): Total quantity of all products in the cart
- `total` (number): Total number of carts available
- `skip` (number): Number of carts skipped for pagination
- `limit` (number): Maximum number of carts returned per request
## Test Validations
This request includes comprehensive automated test validations to ensure the API response meets expected standards. All tests are executed automatically after receiving the response.
### 1\. Status Code Validation
**Test:** Status code is 200
**Validates:** The API successfully processes the request and returns an HTTP 200 OK status code, indicating successful retrieval of cart data.
### 2\. Response Time Performance
**Test:** Response time is less than 2000 ms
**Validates:** The API responds within acceptable performance thresholds (under 2 seconds), ensuring good user experience and system responsiveness.
### 3\. Content-Type Header Validation
**Test:** Response Content-type is application/json
**Validates:** The response is returned in JSON format as expected, with the correct Content-Type header set to application/json.
### 4\. Response Body Structure - Carts Array
**Test:** response body contains cart array
**Validates:** The response body contains the required `carts` property and that it is an array data type, confirming the correct response structure.
### 5\. Data Availability Check
**Test:** cart list is not empty
**Validates:** The carts array contains at least one cart object, ensuring that data is being returned and the system has cart records available.
### 6\. Cart Object Required Fields
**Test:** each cart contains required fields
**Validates:** Every cart object in the response contains all mandatory fields: `id`, `products`, `total`, `discountedTotal`, `userId`, `totalProducts`, and `totalQuantity`.
### 7\. Cart Object Data Type Validation
**Test:** each cart contains fields with correct data types
**Validates:** All cart fields have the correct data types - `id`, `total`, `discountedTotal`, `userId`, `totalProducts`, and `totalQuantity` are numbers, and `products` is an array.
### 8\. Cart Products Array Validation
**Test:** each cart product array is not empty
**Validates:** Each cart's products array contains at least one product, ensuring that carts are not empty and contain actual product data.
### 9\. Product Object Required Fields
**Test:** cart products contain required fields
**Validates:** Each product within a cart contains all necessary fields such as product ID, title, price, quantity, and other product-specific information.
### 10\. Pagination Fields Validation
**Test:** response body contains pagination fields
**Validates:** The response includes pagination metadata fields (`total`, `skip`, `limit`) to support proper pagination handling and navigation through cart data.
### 11\. Pagination Limit Compliance
**Test:** carts count does not exceed limit
**Validates:** The number of carts returned in the response does not exceed the specified limit parameter, ensuring proper pagination behavior and API contract compliance.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d81ac9d2-d0d4-4f24-b972-90a368b884a8 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:56 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 93 |
| x-ratelimit-reset | 1769721601 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"7d39-+rQ7kyHBCLIn9tjTeKVf4oegWkQ" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=Kz7k4syu%2FrYGevnEL0QHdmagpTyn7SMSnlDHgUA9PDHB4rcd82Nv5eaT05c39JplpGM8u0x8nWNPd6jHNatAo%2Fa1Ln0YNqZgma0%2BtnHRrG%2FLjCtGYIZwixM%3D"}]} |
| CF-RAY | 9c5bc547b8c40c5b-AMM |
{"carts":[{"id":1,"products":[{"id":168,"title":"Charger SXT RWD","price":32999.99,"quantity":3,"total":98999.97,"discountPercentage":13.39,"discountedTotal":85743.87,"thumbnail":"https://cdn.dummyjson.com/products/images/vehicle/Charger%20SXT%20RWD/thumbnail.png"},{"id":78,"title":"Apple MacBook Pro 14 Inch Space Grey","price":1999.99,"quantity":2,"total":3999.98,"discountPercentage":18.52,"discountedTotal":3259.18,"thumbnail":"https://cdn.dummyjson.com/products/images/laptops/Apple%20MacBook%20Pro%2014%20Inch%20Space%20Grey/thumbnail.png"},{"id":183,"title":"Green Oval Earring","price":24.99,"quantity":5,"total":124.94999999999999,"discountPercentage":6.28,"discountedTotal":117.1,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-jewellery/Green%20Oval%20Earring/thumbnail.png"},{"id":100,"title":"Apple Airpods","price":129.99,"quantity":5,"total":649.95,"discountPercentage":12.84,"discountedTotal":566.5,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Apple%20Airpods/thumbnail.png"}],"total":103774.85,"discountedTotal":89686.65,"userId":33,"totalProducts":4,"totalQuantity":15},{"id":2,"products":[{"id":144,"title":"Cricket Helmet","price":44.99,"quantity":4,"total":179.96,"discountPercentage":11.47,"discountedTotal":159.32,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Cricket%20Helmet/thumbnail.png"},{"id":124,"title":"iPhone X","price":899.99,"quantity":4,"total":3599.96,"discountPercentage":8.03,"discountedTotal":3310.88,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/iPhone%20X/thumbnail.png"},{"id":148,"title":"Golf Ball","price":9.99,"quantity":4,"total":39.96,"discountPercentage":11.24,"discountedTotal":35.47,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Golf%20Ball/thumbnail.png"},{"id":122,"title":"iPhone 6","price":299.99,"quantity":3,"total":899.97,"discountPercentage":19.64,"discountedTotal":723.22,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/iPhone%206/thumbnail.png"},{"id":110,"title":"Selfie Lamp with iPhone","price":14.99,"quantity":5,"total":74.95,"discountPercentage":19.87,"discountedTotal":60.06,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Selfie%20Lamp%20with%20iPhone/thumbnail.png"}],"total":4794.8,"discountedTotal":4288.95,"userId":142,"totalProducts":5,"totalQuantity":20},{"id":3,"products":[{"id":98,"title":"Rolex Submariner Watch","price":13999.99,"quantity":1,"total":13999.99,"discountPercentage":16.35,"discountedTotal":11710.99,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-watches/Rolex%20Submariner%20Watch/thumbnail.png"},{"id":125,"title":"Oppo A57","price":249.99,"quantity":5,"total":1249.95,"discountPercentage":16.54,"discountedTotal":1043.21,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Oppo%20A57/thumbnail.png"},{"id":55,"title":"Egg Slicer","price":6.99,"quantity":2,"total":13.98,"discountPercentage":16.04,"discountedTotal":11.74,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Egg%20Slicer/thumbnail.png"},{"id":62,"title":"Ice Cube Tray","price":5.99,"quantity":2,"total":11.98,"discountPercentage":8.25,"discountedTotal":10.99,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Ice%20Cube%20Tray/thumbnail.png"},{"id":132,"title":"Samsung Galaxy S8","price":499.99,"quantity":3,"total":1499.97,"discountPercentage":8.84,"discountedTotal":1367.37,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Samsung%20Galaxy%20S8/thumbnail.png"}],"total":16775.87,"discountedTotal":14144.3,"userId":108,"totalProducts":5,"totalQuantity":13},{"id":4,"products":[{"id":187,"title":"Golden Shoes Woman","price":49.99,"quantity":5,"total":249.95000000000002,"discountPercentage":1.64,"discountedTotal":245.85,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-shoes/Golden%20Shoes%20Woman/thumbnail.png"},{"id":40,"title":"Strawberry","price":3.99,"quantity":5,"total":19.950000000000003,"discountPercentage":4.6,"discountedTotal":19.03,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Strawberry/thumbnail.png"},{"id":156,"title":"Green and Black Glasses","price":34.99,"quantity":5,"total":174.95000000000002,"discountPercentage":4.34,"discountedTotal":167.36,"thumbnail":"https://cdn.dummyjson.com/products/images/sunglasses/Green%20and%20Black%20Glasses/thumbnail.png"},{"id":62,"title":"Ice Cube Tray","price":5.99,"quantity":2,"total":11.98,"discountPercentage":8.25,"discountedTotal":10.99,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Ice%20Cube%20Tray/thumbnail.png"}],"total":456.83,"discountedTotal":443.23,"userId":87,"totalProducts":4,"totalQuantity":17},{"id":5,"products":[{"id":108,"title":"iPhone 12 Silicone Case with MagSafe Plum","price":29.99,"quantity":2,"total":59.98,"discountPercentage":14.68,"discountedTotal":51.17,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/iPhone%2012%20Silicone%20Case%20with%20MagSafe%20Plum/thumbnail.png"},{"id":138,"title":"Baseball Ball","price":8.99,"quantity":5,"total":44.95,"discountPercentage":18.49,"discountedTotal":36.64,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Baseball%20Ball/thumbnail.png"},{"id":157,"title":"Party Glasses","price":19.99,"quantity":2,"total":39.98,"discountPercentage":19.17,"discountedTotal":32.32,"thumbnail":"https://cdn.dummyjson.com/products/images/sunglasses/Party%20Glasses/thumbnail.png"},{"id":8,"title":"Dior J'adore","price":89.99,"quantity":3,"total":269.96999999999997,"discountPercentage":10.79,"discountedTotal":240.84,"thumbnail":"https://cdn.dummyjson.com/products/images/fragrances/Dior%20J'adore/thumbnail.png"},{"id":80,"title":"Huawei Matebook X Pro","price":1399.99,"quantity":5,"total":6999.95,"discountPercentage":9.99,"discountedTotal":6300.65,"thumbnail":"https://cdn.dummyjson.com/products/images/laptops/Huawei%20Matebook%20X%20Pro/thumbnail.png"},{"id":28,"title":"Ice Cream","price":5.49,"quantity":3,"total":16.47,"discountPercentage":10,"discountedTotal":14.82,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Ice%20Cream/thumbnail.png"}],"total":7431.3,"discountedTotal":6676.44,"userId":134,"totalProducts":6,"totalQuantity":20},{"id":6,"products":[{"id":172,"title":"Blue Women's Handbag","price":49.99,"quantity":5,"total":249.95000000000002,"discountPercentage":8.08,"discountedTotal":229.75,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-bags/Blue%20Women's%20Handbag/thumbnail.png"},{"id":112,"title":"TV Studio Camera Pedestal","price":499.99,"quantity":3,"total":1499.97,"discountPercentage":15.69,"discountedTotal":1264.62,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/TV%20Studio%20Camera%20Pedestal/thumbnail.png"},{"id":97,"title":"Rolex Datejust","price":10999.99,"quantity":3,"total":32999.97,"discountPercentage":10.58,"discountedTotal":29508.57,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-watches/Rolex%20Datejust/thumbnail.png"},{"id":128,"title":"Realme C35","price":149.99,"quantity":3,"total":449.97,"discountPercentage":3.97,"discountedTotal":432.11,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Realme%20C35/thumbnail.png"}],"total":35199.86,"discountedTotal":31435.05,"userId":150,"totalProducts":4,"totalQuantity":14},{"id":7,"products":[{"id":167,"title":"300 Touring","price":28999.99,"quantity":5,"total":144999.95,"discountPercentage":11.78,"discountedTotal":127918.96,"thumbnail":"https://cdn.dummyjson.com/products/images/vehicle/300%20Touring/thumbnail.png"},{"id":111,"title":"Selfie Stick Monopod","price":12.99,"quantity":4,"total":51.96,"discountPercentage":10.98,"discountedTotal":46.25,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Selfie%20Stick%20Monopod/thumbnail.png"},{"id":129,"title":"Realme X","price":299.99,"quantity":2,"total":599.98,"discountPercentage":10.13,"discountedTotal":539.2,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Realme%20X/thumbnail.png"}],"total":145651.89,"discountedTotal":128504.41,"userId":86,"totalProducts":3,"totalQuantity":11},{"id":8,"products":[{"id":117,"title":"Sportbike Motorcycle","price":7499.99,"quantity":2,"total":14999.98,"discountPercentage":19.83,"discountedTotal":12025.48,"thumbnail":"https://cdn.dummyjson.com/products/images/motorcycle/Sportbike%20Motorcycle/thumbnail.png"},{"id":18,"title":"Cat Food","price":8.99,"quantity":4,"total":35.96,"discountPercentage":1.15,"discountedTotal":35.55,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Cat%20Food/thumbnail.png"},{"id":105,"title":"Apple MagSafe Battery Pack","price":99.99,"quantity":5,"total":499.95,"discountPercentage":7.14,"discountedTotal":464.25,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Apple%20MagSafe%20Battery%20Pack/thumbnail.png"},{"id":6,"title":"Calvin Klein CK One","price":49.99,"quantity":3,"total":149.97,"discountPercentage":5.67,"discountedTotal":141.47,"thumbnail":"https://cdn.dummyjson.com/products/images/fragrances/Calvin%20Klein%20CK%20One/thumbnail.png"}],"total":15685.86,"discountedTotal":12666.75,"userId":23,"totalProducts":4,"totalQuantity":14},{"id":9,"products":[{"id":178,"title":"Corset Leather With Skirt","price":89.99,"quantity":2,"total":179.98,"discountPercentage":12.59,"discountedTotal":157.32,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-dresses/Corset%20Leather%20With%20Skirt/thumbnail.png"},{"id":191,"title":"Rolex Cellini Moonphase","price":15999.99,"quantity":4,"total":63999.96,"discountPercentage":3.26,"discountedTotal":61913.56,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-watches/Rolex%20Cellini%20Moonphase/thumbnail.png"},{"id":47,"title":"Table Lamp","price":49.99,"quantity":2,"total":99.98,"discountPercentage":13.74,"discountedTotal":86.24,"thumbnail":"https://cdn.dummyjson.com/products/images/home-decoration/Table%20Lamp/thumbnail.png"},{"id":134,"title":"Vivo S1","price":249.99,"quantity":5,"total":1249.95,"discountPercentage":5.64,"discountedTotal":1179.45,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Vivo%20S1/thumbnail.png"}],"total":65529.87,"discountedTotal":63336.57,"userId":194,"totalProducts":4,"totalQuantity":13},{"id":10,"products":[{"id":190,"title":"IWC Ingenieur Automatic Steel","price":4999.99,"quantity":5,"total":24999.949999999997,"discountPercentage":12.34,"discountedTotal":21914.96,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-watches/IWC%20Ingenieur%20Automatic%20Steel/thumbnail.png"},{"id":94,"title":"Longines Master Collection","price":1499.99,"quantity":3,"total":4499.97,"discountPercentage":16.44,"discountedTotal":3760.17,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-watches/Longines%20Master%20Collection/thumbnail.png"}],"total":29499.92,"discountedTotal":25675.13,"userId":160,"totalProducts":2,"totalQuantity":8},{"id":11,"products":[{"id":88,"title":"Nike Air Jordan 1 Red And Black","price":149.99,"quantity":1,"total":149.99,"discountPercentage":17.18,"discountedTotal":124.22,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-shoes/Nike%20Air%20Jordan%201%20Red%20And%20Black/thumbnail.png"},{"id":32,"title":"Milk","price":3.49,"quantity":3,"total":10.47,"discountPercentage":9.36,"discountedTotal":9.49,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Milk/thumbnail.png"},{"id":74,"title":"Spoon","price":4.99,"quantity":3,"total":14.97,"discountPercentage":2.78,"discountedTotal":14.55,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Spoon/thumbnail.png"},{"id":145,"title":"Cricket Wicket","price":29.99,"quantity":3,"total":89.97,"discountPercentage":17.87,"discountedTotal":73.89,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Cricket%20Wicket/thumbnail.png"},{"id":26,"title":"Green Chili Pepper","price":0.99,"quantity":3,"total":2.9699999999999998,"discountPercentage":18.69,"discountedTotal":2.41,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Green%20Chili%20Pepper/thumbnail.png"},{"id":127,"title":"Oppo K1","price":299.99,"quantity":1,"total":299.99,"discountPercentage":15.93,"discountedTotal":252.2,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Oppo%20K1/thumbnail.png"}],"total":568.36,"discountedTotal":476.76,"userId":172,"totalProducts":6,"totalQuantity":14},{"id":12,"products":[{"id":63,"title":"Kitchen Sieve","price":7.99,"quantity":4,"total":31.96,"discountPercentage":18.8,"discountedTotal":25.95,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Kitchen%20Sieve/thumbnail.png"},{"id":181,"title":"Marni Red & Black Suit","price":179.99,"quantity":5,"total":899.95,"discountPercentage":14.21,"discountedTotal":772.07,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-dresses/Marni%20Red%20&%20Black%20Suit/thumbnail.png"}],"total":931.91,"discountedTotal":798.02,"userId":202,"totalProducts":2,"totalQuantity":9},{"id":13,"products":[{"id":85,"title":"Man Plaid Shirt","price":34.99,"quantity":2,"total":69.98,"discountPercentage":3.7,"discountedTotal":67.39,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-shirts/Man%20Plaid%20Shirt/thumbnail.png"},{"id":109,"title":"Monopod","price":19.99,"quantity":3,"total":59.97,"discountPercentage":12.95,"discountedTotal":52.2,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Monopod/thumbnail.png"},{"id":160,"title":"Samsung Galaxy Tab S8 Plus Grey","price":599.99,"quantity":1,"total":599.99,"discountPercentage":4.31,"discountedTotal":574.13,"thumbnail":"https://cdn.dummyjson.com/products/images/tablets/Samsung%20Galaxy%20Tab%20S8%20Plus%20Grey/thumbnail.png"},{"id":163,"title":"Girl Summer Dress","price":19.99,"quantity":3,"total":59.97,"discountPercentage":9.44,"discountedTotal":54.31,"thumbnail":"https://cdn.dummyjson.com/products/images/tops/Girl%20Summer%20Dress/thumbnail.png"},{"id":31,"title":"Lemon","price":0.79,"quantity":4,"total":3.16,"discountPercentage":12.32,"discountedTotal":2.77,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Lemon/thumbnail.png"}],"total":793.07,"discountedTotal":750.8,"userId":41,"totalProducts":5,"totalQuantity":13},{"id":14,"products":[{"id":92,"title":"Sports Sneakers Off White Red","price":109.99,"quantity":3,"total":329.96999999999997,"discountPercentage":17.73,"discountedTotal":271.47,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-shoes/Sports%20Sneakers%20Off%20White%20Red/thumbnail.png"},{"id":54,"title":"Citrus Squeezer Yellow","price":8.99,"quantity":5,"total":44.95,"discountPercentage":6.3,"discountedTotal":42.12,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Citrus%20Squeezer%20Yellow/thumbnail.png"},{"id":76,"title":"Wooden Rolling Pin","price":11.99,"quantity":1,"total":11.99,"discountPercentage":8.45,"discountedTotal":10.98,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Wooden%20Rolling%20Pin/thumbnail.png"},{"id":44,"title":"Family Tree Photo Frame","price":29.99,"quantity":5,"total":149.95,"discountPercentage":10.68,"discountedTotal":133.94,"thumbnail":"https://cdn.dummyjson.com/products/images/home-decoration/Family%20Tree%20Photo%20Frame/thumbnail.png"},{"id":67,"title":"Mug Tree Stand","price":15.99,"quantity":3,"total":47.97,"discountPercentage":16.65,"discountedTotal":39.98,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Mug%20Tree%20Stand/thumbnail.png"},{"id":16,"title":"Apple","price":1.99,"quantity":1,"total":1.99,"discountPercentage":11.74,"discountedTotal":1.76,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Apple/thumbnail.png"}],"total":586.82,"discountedTotal":500.25,"userId":94,"totalProducts":6,"totalQuantity":18},{"id":15,"products":[{"id":11,"title":"Annibale Colombo Bed","price":1899.99,"quantity":5,"total":9499.95,"discountPercentage":8.09,"discountedTotal":8731.4,"thumbnail":"https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Bed/thumbnail.png"},{"id":133,"title":"Samsung Galaxy S10","price":699.99,"quantity":3,"total":2099.9700000000003,"discountPercentage":1.12,"discountedTotal":2076.45,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Samsung%20Galaxy%20S10/thumbnail.png"},{"id":111,"title":"Selfie Stick Monopod","price":12.99,"quantity":3,"total":38.97,"discountPercentage":10.98,"discountedTotal":34.69,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Selfie%20Stick%20Monopod/thumbnail.png"},{"id":162,"title":"Blue Frock","price":29.99,"quantity":3,"total":89.97,"discountPercentage":3.86,"discountedTotal":86.5,"thumbnail":"https://cdn.dummyjson.com/products/images/tops/Blue%20Frock/thumbnail.png"},{"id":30,"title":"Kiwi","price":2.49,"quantity":5,"total":12.450000000000001,"discountPercentage":4.34,"discountedTotal":11.91,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Kiwi/thumbnail.png"}],"total":11741.31,"discountedTotal":10940.95,"userId":11,"totalProducts":5,"totalQuantity":19},{"id":16,"products":[{"id":19,"title":"Chicken Meat","price":9.99,"quantity":2,"total":19.98,"discountPercentage":13.37,"discountedTotal":17.31,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Chicken%20Meat/thumbnail.png"},{"id":152,"title":"Tennis Racket","price":49.99,"quantity":3,"total":149.97,"discountPercentage":9.13,"discountedTotal":136.28,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Tennis%20Racket/thumbnail.png"},{"id":35,"title":"Potatoes","price":2.29,"quantity":1,"total":2.29,"discountPercentage":1.69,"discountedTotal":2.25,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Potatoes/thumbnail.png"}],"total":172.24,"discountedTotal":155.84,"userId":200,"totalProducts":3,"totalQuantity":6},{"id":17,"products":[{"id":1,"title":"Essence Mascara Lash Princess","price":9.99,"quantity":2,"total":19.98,"discountPercentage":0.63,"discountedTotal":19.85,"thumbnail":"https://cdn.dummyjson.com/products/images/beauty/Essence%20Mascara%20Lash%20Princess/thumbnail.png"},{"id":60,"title":"Grater Black","price":10.99,"quantity":3,"total":32.97,"discountPercentage":16.62,"discountedTotal":27.49,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Grater%20Black/thumbnail.png"},{"id":74,"title":"Spoon","price":4.99,"quantity":4,"total":19.96,"discountPercentage":2.78,"discountedTotal":19.41,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Spoon/thumbnail.png"},{"id":44,"title":"Family Tree Photo Frame","price":29.99,"quantity":4,"total":119.96,"discountPercentage":10.68,"discountedTotal":107.15,"thumbnail":"https://cdn.dummyjson.com/products/images/home-decoration/Family%20Tree%20Photo%20Frame/thumbnail.png"}],"total":192.87,"discountedTotal":173.9,"userId":141,"totalProducts":4,"totalQuantity":13},{"id":18,"products":[{"id":127,"title":"Oppo K1","price":299.99,"quantity":4,"total":1199.96,"discountPercentage":15.93,"discountedTotal":1008.81,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Oppo%20K1/thumbnail.png"},{"id":24,"title":"Fish Steak","price":14.99,"quantity":3,"total":44.97,"discountPercentage":7.66,"discountedTotal":41.53,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Fish%20Steak/thumbnail.png"},{"id":20,"title":"Cooking Oil","price":4.99,"quantity":5,"total":24.950000000000003,"discountPercentage":12.62,"discountedTotal":21.8,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Cooking%20Oil/thumbnail.png"},{"id":154,"title":"Black Sun Glasses","price":29.99,"quantity":3,"total":89.97,"discountPercentage":1.11,"discountedTotal":88.97,"thumbnail":"https://cdn.dummyjson.com/products/images/sunglasses/Black%20Sun%20Glasses/thumbnail.png"},{"id":44,"title":"Family Tree Photo Frame","price":29.99,"quantity":2,"total":59.98,"discountPercentage":10.68,"discountedTotal":53.57,"thumbnail":"https://cdn.dummyjson.com/products/images/home-decoration/Family%20Tree%20Photo%20Frame/thumbnail.png"},{"id":5,"title":"Red Nail Polish","price":8.99,"quantity":5,"total":44.95,"discountPercentage":3.76,"discountedTotal":43.26,"thumbnail":"https://cdn.dummyjson.com/products/images/beauty/Red%20Nail%20Polish/thumbnail.png"}],"total":1464.78,"discountedTotal":1257.94,"userId":189,"totalProducts":6,"totalQuantity":22},{"id":19,"products":[{"id":187,"title":"Golden Shoes Woman","price":49.99,"quantity":3,"total":149.97,"discountPercentage":1.64,"discountedTotal":147.51,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-shoes/Golden%20Shoes%20Woman/thumbnail.png"},{"id":153,"title":"Volleyball","price":11.99,"quantity":5,"total":59.95,"discountPercentage":16.05,"discountedTotal":50.33,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Volleyball/thumbnail.png"},{"id":34,"title":"Nescafe Coffee","price":7.99,"quantity":3,"total":23.97,"discountPercentage":8.31,"discountedTotal":21.98,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Nescafe%20Coffee/thumbnail.png"},{"id":130,"title":"Realme XT","price":349.99,"quantity":2,"total":699.98,"discountPercentage":17.86,"discountedTotal":574.96,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Realme%20XT/thumbnail.png"}],"total":933.87,"discountedTotal":794.78,"userId":59,"totalProducts":4,"totalQuantity":13},{"id":20,"products":[{"id":107,"title":"Beats Flex Wireless Earphones","price":49.99,"quantity":1,"total":49.99,"discountPercentage":8.79,"discountedTotal":45.6,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Beats%20Flex%20Wireless%20Earphones/thumbnail.png"},{"id":193,"title":"Watch Gold for Women","price":799.99,"quantity":3,"total":2399.9700000000003,"discountPercentage":19.53,"discountedTotal":1931.26,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-watches/Watch%20Gold%20for%20Women/thumbnail.png"},{"id":100,"title":"Apple Airpods","price":129.99,"quantity":3,"total":389.97,"discountPercentage":12.84,"discountedTotal":339.9,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Apple%20Airpods/thumbnail.png"},{"id":90,"title":"Puma Future Rider Trainers","price":89.99,"quantity":5,"total":449.95,"discountPercentage":14.7,"discountedTotal":383.81,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-shoes/Puma%20Future%20Rider%20Trainers/thumbnail.png"},{"id":118,"title":"Attitude Super Leaves Hand Soap","price":8.99,"quantity":5,"total":44.95,"discountPercentage":7.23,"discountedTotal":41.7,"thumbnail":"https://cdn.dummyjson.com/products/images/skin-care/Attitude%20Super%20Leaves%20Hand%20Soap/thumbnail.png"},{"id":166,"title":"Tartan Dress","price":39.99,"quantity":5,"total":199.95000000000002,"discountPercentage":2.82,"discountedTotal":194.31,"thumbnail":"https://cdn.dummyjson.com/products/images/tops/Tartan%20Dress/thumbnail.png"}],"total":3534.78,"discountedTotal":2936.58,"userId":90,"totalProducts":6,"totalQuantity":22},{"id":21,"products":[{"id":77,"title":"Yellow Peeler","price":5.99,"quantity":2,"total":11.98,"discountPercentage":13.16,"discountedTotal":10.4,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Yellow%20Peeler/thumbnail.png"},{"id":91,"title":"Sports Sneakers Off White & Red","price":119.99,"quantity":2,"total":239.98,"discountPercentage":1.96,"discountedTotal":235.28,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-shoes/Sports%20Sneakers%20Off%20White%20&%20Red/thumbnail.png"}],"total":251.96,"discountedTotal":245.68,"userId":42,"totalProducts":2,"totalQuantity":4},{"id":22,"products":[{"id":73,"title":"Spice Rack","price":19.99,"quantity":5,"total":99.94999999999999,"discountPercentage":8.74,"discountedTotal":91.21,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Spice%20Rack/thumbnail.png"},{"id":2,"title":"Eyeshadow Palette with Mirror","price":19.99,"quantity":2,"total":39.98,"discountPercentage":0.7,"discountedTotal":39.7,"thumbnail":"https://cdn.dummyjson.com/products/images/beauty/Eyeshadow%20Palette%20with%20Mirror/thumbnail.png"},{"id":69,"title":"Plate","price":3.99,"quantity":2,"total":7.98,"discountPercentage":16,"discountedTotal":6.7,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Plate/thumbnail.png"},{"id":155,"title":"Classic Sun Glasses","price":24.99,"quantity":3,"total":74.97,"discountPercentage":9.27,"discountedTotal":68.02,"thumbnail":"https://cdn.dummyjson.com/products/images/sunglasses/Classic%20Sun%20Glasses/thumbnail.png"}],"total":222.88,"discountedTotal":205.63,"userId":140,"totalProducts":4,"totalQuantity":12},{"id":23,"products":[{"id":82,"title":"New DELL XPS 13 9300 Laptop","price":1499.99,"quantity":5,"total":7499.95,"discountPercentage":3.9,"discountedTotal":7207.45,"thumbnail":"https://cdn.dummyjson.com/products/images/laptops/New%20DELL%20XPS%2013%209300%20Laptop/thumbnail.png"},{"id":172,"title":"Blue Women's Handbag","price":49.99,"quantity":4,"total":199.96,"discountPercentage":8.08,"discountedTotal":183.8,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-bags/Blue%20Women's%20Handbag/thumbnail.png"},{"id":41,"title":"Tissue Paper Box","price":2.49,"quantity":2,"total":4.98,"discountPercentage":2.74,"discountedTotal":4.84,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Tissue%20Paper%20Box/thumbnail.png"},{"id":37,"title":"Red Onions","price":1.99,"quantity":4,"total":7.96,"discountPercentage":8.95,"discountedTotal":7.25,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Red%20Onions/thumbnail.png"},{"id":138,"title":"Baseball Ball","price":8.99,"quantity":5,"total":44.95,"discountPercentage":18.49,"discountedTotal":36.64,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Baseball%20Ball/thumbnail.png"}],"total":7757.8,"discountedTotal":7439.98,"userId":147,"totalProducts":5,"totalQuantity":20},{"id":24,"products":[{"id":108,"title":"iPhone 12 Silicone Case with MagSafe Plum","price":29.99,"quantity":5,"total":149.95,"discountPercentage":14.68,"discountedTotal":127.94,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/iPhone%2012%20Silicone%20Case%20with%20MagSafe%20Plum/thumbnail.png"},{"id":134,"title":"Vivo S1","price":249.99,"quantity":4,"total":999.96,"discountPercentage":5.64,"discountedTotal":943.56,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Vivo%20S1/thumbnail.png"},{"id":174,"title":"Prada Women Bag","price":599.99,"quantity":1,"total":599.99,"discountPercentage":12.86,"discountedTotal":522.83,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-bags/Prada%20Women%20Bag/thumbnail.png"}],"total":1749.9,"discountedTotal":1594.33,"userId":6,"totalProducts":3,"totalQuantity":10},{"id":25,"products":[{"id":4,"title":"Red Lipstick","price":12.99,"quantity":1,"total":12.99,"discountPercentage":14.69,"discountedTotal":11.08,"thumbnail":"https://cdn.dummyjson.com/products/images/beauty/Red%20Lipstick/thumbnail.png"},{"id":126,"title":"Oppo F19 Pro+","price":399.99,"quantity":1,"total":399.99,"discountPercentage":14.38,"discountedTotal":342.47,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Oppo%20F19%20Pro+/thumbnail.png"}],"total":412.98,"discountedTotal":353.55,"userId":118,"totalProducts":2,"totalQuantity":2},{"id":26,"products":[{"id":37,"title":"Red Onions","price":1.99,"quantity":5,"total":9.95,"discountPercentage":8.95,"discountedTotal":9.06,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Red%20Onions/thumbnail.png"},{"id":128,"title":"Realme C35","price":149.99,"quantity":3,"total":449.97,"discountPercentage":3.97,"discountedTotal":432.11,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Realme%20C35/thumbnail.png"}],"total":459.92,"discountedTotal":441.17,"userId":66,"totalProducts":2,"totalQuantity":8},{"id":27,"products":[{"id":33,"title":"Mulberry","price":4.99,"quantity":1,"total":4.99,"discountPercentage":2.75,"discountedTotal":4.85,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Mulberry/thumbnail.png"},{"id":110,"title":"Selfie Lamp with iPhone","price":14.99,"quantity":2,"total":29.98,"discountPercentage":19.87,"discountedTotal":24.02,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Selfie%20Lamp%20with%20iPhone/thumbnail.png"},{"id":16,"title":"Apple","price":1.99,"quantity":3,"total":5.97,"discountPercentage":11.74,"discountedTotal":5.27,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Apple/thumbnail.png"},{"id":83,"title":"Blue & Black Check Shirt","price":29.99,"quantity":5,"total":149.95,"discountPercentage":8.76,"discountedTotal":136.81,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-shirts/Blue%20&%20Black%20Check%20Shirt/thumbnail.png"}],"total":190.89,"discountedTotal":170.95,"userId":75,"totalProducts":4,"totalQuantity":11},{"id":28,"products":[{"id":1,"title":"Essence Mascara Lash Princess","price":9.99,"quantity":5,"total":49.95,"discountPercentage":0.63,"discountedTotal":49.64,"thumbnail":"https://cdn.dummyjson.com/products/images/beauty/Essence%20Mascara%20Lash%20Princess/thumbnail.png"},{"id":141,"title":"Basketball Rim","price":39.99,"quantity":4,"total":159.96,"discountPercentage":14.7,"discountedTotal":136.45,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Basketball%20Rim/thumbnail.png"}],"total":209.91,"discountedTotal":186.09,"userId":147,"totalProducts":2,"totalQuantity":9},{"id":29,"products":[{"id":80,"title":"Huawei Matebook X Pro","price":1399.99,"quantity":2,"total":2799.98,"discountPercentage":9.99,"discountedTotal":2520.26,"thumbnail":"https://cdn.dummyjson.com/products/images/laptops/Huawei%20Matebook%20X%20Pro/thumbnail.png"},{"id":107,"title":"Beats Flex Wireless Earphones","price":49.99,"quantity":4,"total":199.96,"discountPercentage":8.79,"discountedTotal":182.38,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Beats%20Flex%20Wireless%20Earphones/thumbnail.png"},{"id":25,"title":"Green Bell Pepper","price":1.29,"quantity":2,"total":2.58,"discountPercentage":1.2,"discountedTotal":2.55,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Green%20Bell%20Pepper/thumbnail.png"},{"id":121,"title":"iPhone 5s","price":199.99,"quantity":4,"total":799.96,"discountPercentage":8.38,"discountedTotal":732.92,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/iPhone%205s/thumbnail.png"},{"id":153,"title":"Volleyball","price":11.99,"quantity":5,"total":59.95,"discountPercentage":16.05,"discountedTotal":50.33,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Volleyball/thumbnail.png"}],"total":3862.43,"discountedTotal":3488.44,"userId":170,"totalProducts":5,"totalQuantity":17},{"id":30,"products":[{"id":181,"title":"Marni Red & Black Suit","price":179.99,"quantity":1,"total":179.99,"discountPercentage":14.21,"discountedTotal":154.41,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-dresses/Marni%20Red%20&%20Black%20Suit/thumbnail.png"},{"id":171,"title":"Pacifica Touring","price":31999.99,"quantity":4,"total":127999.96,"discountPercentage":7.4,"discountedTotal":118527.96,"thumbnail":"https://cdn.dummyjson.com/products/images/vehicle/Pacifica%20Touring/thumbnail.png"},{"id":35,"title":"Potatoes","price":2.29,"quantity":4,"total":9.16,"discountPercentage":1.69,"discountedTotal":9.01,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Potatoes/thumbnail.png"},{"id":46,"title":"Plant Pot","price":14.99,"quantity":4,"total":59.96,"discountPercentage":17.65,"discountedTotal":49.38,"thumbnail":"https://cdn.dummyjson.com/products/images/home-decoration/Plant%20Pot/thumbnail.png"}],"total":128249.07,"discountedTotal":118740.76,"userId":177,"totalProducts":4,"totalQuantity":13}],"total":50,"skip":0,"limit":30}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000 ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body contains cart array | 1 | 0 | 0 |
| cart list is not empty | 1 | 0 | 0 |
| each cart contains required fields | 1 | 0 | 0 |
| each cart contains fields with correct data types | 1 | 0 | 0 |
| each cart product array is not empty | 1 | 0 | 0 |
| cart products contain required fields | 1 | 0 | 0 |
| response body contains pagination fields | 1 | 0 | 0 |
| carts count does not exceed limit | 1 | 0 | 0 |
| Total | 11 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Cart-By ID
## Overview
This endpoint retrieves a specific shopping cart by its unique ID from the DummyJSON API. It provides detailed information about a single cart including all products, pricing, discounts, and user association.
## Purpose
The primary purpose of this request is to fetch a specific cart's complete details. This is useful for:
- Viewing detailed information about a specific cart
- Retrieving cart data for a particular user session
- Testing cart retrieval by ID functionality
- Validating individual cart data structure and integrity
## Expected Behaviour
When this request is executed successfully with a valid cart ID, it returns a JSON response containing the complete cart object with all associated products, totals, and user information.
## Request Details
**HTTP Method:** `GET`
**Endpoint URL:** `https://dummyjson.com/carts/1`
**Headers:** None required
**Query Parameters:** None
**Path Variables:**
- `cart_id` - The unique identifier of the cart to retrieve
**Authentication:** None required for this endpoint
## Variables Used
| Variable | Description | Example Value |
| --- | --- | --- |
| `baseUrl` | The base URL for the DummyJSON API | `https://dummyjson.com` |
| `cart_id` | The unique identifier of the cart to retrieve | `1` |
Both variables are defined in the active environment. The `cart_id` variable should be set to the ID of the cart you want to retrieve.
## Response Details
The response returns a JSON object with the following structure:
``` json
{
"id": number,
"products": [
{
"id": number,
"title": string,
"price": number,
"quantity": number,
"total": number,
"discountPercentage": number,
"discountedPrice": number
}
],
"total": number,
"discountedTotal": number,
"userId": number,
"totalProducts": number,
"totalQuantity": number
}
```
**Response Fields:**
- `id` (number): Unique identifier for the cart
- `products` (array): Array of product objects in the cart
- `id` (number): Product ID
- `title` (string): Product name
- `price` (number): Product price
- `quantity` (number): Quantity of this product in cart
- `total` (number): Total price before discounts
- `discountedTotal` (number): Total price after applying discounts
- `userId` (number): ID of the user who owns the cart
- `totalProducts` (number): Total number of unique products in the cart
- `totalQuantity` (number): Total quantity of all products in the cart
## Test Validations
This request includes comprehensive automated test validations to ensure the API response meets expected standards. All tests are executed automatically after receiving the response.
### 1\. Status Code Validation
**Test:** Status code is 200
**Validates:** The API successfully processes the request and returns an HTTP 200 OK status code, indicating successful retrieval of the specific cart data.
### 2\. Response Time Performance
**Test:** Response time is less than 2000ms
**Validates:** The API responds within acceptable performance thresholds (under 2 seconds), ensuring good user experience and system responsiveness.
### 3\. Content-Type Header Validation
**Test:** Response Content-type is application/json
**Validates:** The response is returned in JSON format as expected, with the correct Content-Type header set to application/json.
### 4\. Response Body Structure
**Test:** response body is json object
**Validates:** The response body is a valid JSON object, confirming the correct response structure and format.
### 5\. Cart Object Required Fields
**Test:** response body contains required fields
**Validates:** The cart object contains all mandatory fields: `id`, `products`, `total`, `discountedTotal`, `userId`, `totalProducts`, and `totalQuantity`.
### 6\. Cart Object Data Type Validation
**Test:** response body contains required fields with correct data type
**Validates:** All cart fields have the correct data types - `id`, `total`, `discountedTotal`, `userId`, `totalProducts`, and `totalQuantity` are numbers, and `products` is an array.
### 7\. Product Object Required Fields
**Test:** each product in the cart contains required fields
**Validates:** Each product within the cart contains all necessary fields including `id`, `title`, `price`, and `quantity`, ensuring complete product information.
### 8\. Cart ID Match Validation
**Test:** returned cart id matches requested cart id
**Validates:** The cart ID in the response matches the cart ID that was requested in the URL path variable, confirming that the correct cart was retrieved.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3a99f8c7-665c-4539-944b-fceb0e0ecd73 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:56 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 93 |
| x-ratelimit-reset | 1769721597 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"461-cWRWYNLFxfrc4fzJ3x6dAiWgKps" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=AlvOnAcyHCjbs0MeIVdW5xDeCPl21P%2F1mNPM2NYeK6GBC0TgExPibJU9%2B012bvfNet2JkvsB7fOh2nhBul44McvcC5jbEZ16j2RJ3ETsHQNk4wHPw4Rnrjg%3D"}]} |
| CF-RAY | 9c5bc549be6d0c5b-AMM |
{"id":1,"products":[{"id":168,"title":"Charger SXT RWD","price":32999.99,"quantity":3,"total":98999.97,"discountPercentage":13.39,"discountedTotal":85743.87,"thumbnail":"https://cdn.dummyjson.com/products/images/vehicle/Charger%20SXT%20RWD/thumbnail.png"},{"id":78,"title":"Apple MacBook Pro 14 Inch Space Grey","price":1999.99,"quantity":2,"total":3999.98,"discountPercentage":18.52,"discountedTotal":3259.18,"thumbnail":"https://cdn.dummyjson.com/products/images/laptops/Apple%20MacBook%20Pro%2014%20Inch%20Space%20Grey/thumbnail.png"},{"id":183,"title":"Green Oval Earring","price":24.99,"quantity":5,"total":124.94999999999999,"discountPercentage":6.28,"discountedTotal":117.1,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-jewellery/Green%20Oval%20Earring/thumbnail.png"},{"id":100,"title":"Apple Airpods","price":129.99,"quantity":5,"total":649.95,"discountPercentage":12.84,"discountedTotal":566.5,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Apple%20Airpods/thumbnail.png"}],"total":103774.85,"discountedTotal":89686.65,"userId":33,"totalProducts":4,"totalQuantity":15}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body contains required fields | 1 | 0 | 0 |
| response body contains required fields with correct data type | 1 | 0 | 0 |
| each product in the cart contains required fields | 1 | 0 | 0 |
| returned cart id matches requested cart id | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Carts-By User ID
## Overview
This endpoint retrieves all shopping carts associated with a specific user from the DummyJSON API. It returns a comprehensive list of carts including product details, pricing information, and cart totals.
## Purpose
To fetch and validate all cart data for a given user ID, ensuring data integrity and proper API response structure. This endpoint is essential for user cart management and order processing workflows.
## Expected Behaviour
When a valid user ID is provided, the API returns all carts belonging to that user with complete cart and product information. The response includes cart totals, discounts, and detailed product information for each item in the carts.
## Request Details
**HTTP Method:** `GET`
**URL:** `https://dummyjson.com/carts/user/6`
**Headers:** None specified
**Query Parameters:** None
**Path Variables:**
- `user_id` - The unique identifier of the user whose carts are being retrieved
**Authentication:** None specified
## Variables Used
- **`baseUrl`** - The base URL for the DummyJSON API endpoint (e.g., https://dummyjson.com)
- **`user_id`** - The unique identifier of the user whose cart information is being requested
## Response Details
The API returns a JSON object with the following structure:
**Response Object:**
- `carts` (array) - Array containing all carts for the specified user
**Each Cart Object Contains:**
- `id` - Unique cart identifier
- `products` - Array of products in the cart
- `total` - Total cart value before discounts
- `discountedTotal` - Total cart value after discounts
- `userId` - User ID associated with the cart
- `totalProducts` - Total number of unique products
- `totalQuantity` - Total quantity of all items
**Each Product Object Contains:**
- `id` - Product identifier
- `quantity` - Quantity of the product in cart
- `price` - Price of the product
## Test Validations
This request includes 7 comprehensive test assertions to ensure API reliability and data integrity:
1. **Status Code Validation** - Verifies the response status code is 200 (OK)
2. **Response Time Performance** - Ensures the response time is less than 2000ms for optimal performance
3. **Content-Type Validation** - Confirms the response Content-Type header is "application/json"
4. **Response Structure Validation** - Verifies the response body contains the "carts" property as an array
5. **User ID Matching** - Validates that all returned carts belong to the requested user ID
6. **Cart Fields Validation** - Ensures each cart contains all required fields: id, products, total, discountedTotal, userId, totalProducts, and totalQuantity
7. **Product Fields Validation** - Confirms each product within the carts contains the required fields: id, quantity, and price
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a784ed41-06bf-4a67-bc72-eca66cc86941 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:56 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 99 |
| x-ratelimit-reset | 1769721607 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"385-ITR3LUmAAhlOUYo0SP5jQkppvNY" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=NDk85PqDXoZv3w%2FSgdwY0XXz7K%2FlVsw3woSO9ZK6zm6hThsHHzVeQuyhHY3Qk4VwsjScT9esjAggK%2FcJBQ2wusPa3U3Ah4eg9PGHaVjM3wh%2Bpnbf%2BAoVnqU%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc54b2a500c5b-AMM |
{"carts":[{"id":24,"products":[{"id":108,"title":"iPhone 12 Silicone Case with MagSafe Plum","price":29.99,"quantity":5,"total":149.95,"discountPercentage":14.68,"discountedTotal":127.94,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/iPhone%2012%20Silicone%20Case%20with%20MagSafe%20Plum/thumbnail.png"},{"id":134,"title":"Vivo S1","price":249.99,"quantity":4,"total":999.96,"discountPercentage":5.64,"discountedTotal":943.56,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Vivo%20S1/thumbnail.png"},{"id":174,"title":"Prada Women Bag","price":599.99,"quantity":1,"total":599.99,"discountPercentage":12.86,"discountedTotal":522.83,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-bags/Prada%20Women%20Bag/thumbnail.png"}],"total":1749.9,"discountedTotal":1594.33,"userId":6,"totalProducts":3,"totalQuantity":10}],"total":1,"skip":0,"limit":1}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body conatins cart array | 1 | 0 | 0 |
| returned carts belong to the requested user id | 1 | 0 | 0 |
| each cart contains required fields | 1 | 0 | 0 |
| cart products contain required fields | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Data Driven Add New Cart (Happy+ Negative)
## Overview
This is a data-driven test request that validates the cart creation functionality of the DummyJSON API. It supports both positive (happy path) and negative test scenarios by accepting expected status codes from a CSV data file, allowing comprehensive testing of the "Add New Cart" endpoint with various input combinations.
## Expected Behaviour
When executed as part of a collection run with a CSV data file:
- **Happy Path (201)**: Successfully creates a new cart with the provided user ID and products, returning complete cart details including calculated totals and discounts
- **Negative Scenarios (4xx)**: Returns appropriate error responses when invalid data is provided (e.g., empty user ID, invalid products)
The request validates the response against the expected status code from the CSV file and performs comprehensive assertions on successful responses.
## Request Details
**Method:** `POST`
**URL:** `https://dummyjson.com/carts/add`
**Headers:**
- Content-Type: application/json (automatically set for raw JSON body)
**Body Structure (raw JSON):**
``` json
{
"userId": 5,
"products": [
{ "id": 2, "quantity": 4 },
{ "id": 3, "quantity": 1 },
{ "id": 7, "quantity": 2 }
]
}
```
The body uses variables that should be populated from a CSV data file during collection runs, allowing different test scenarios to be executed with varying user IDs and product configurations.
## Variables Used
| Variable | Description | Example Value |
| --- | --- | --- |
| `https://dummyjson.com` | Base URL of the DummyJSON API | `https://dummyjson.com` |
| `5` | The ID of the user creating the cart | `1` |
| `[
{ "id": 2, "quantity": 4 },
{ "id": 3, "quantity": 1 },
{ "id": 7, "quantity": 2 }
]` | Array of product objects with id and quantity | `[{"id": 1, "quantity": 2}]` |
**Note:** The CSV data file should also include an `expected_status_add_cart` column to specify the expected HTTP status code for each test scenario.
## Response Details
### Successful Response (Status 201)
**Response Structure:**
``` json
{
"id": number,
"products": array,
"total": number,
"discountedTotal": number,
"userId": number,
"totalProducts": number,
"totalQuantity": number
}
```
**Field Descriptions:**
| Field | Type | Description |
| --- | --- | --- |
| `id` | number | Unique identifier for the created cart |
| `products` | array | Array of product objects added to the cart |
| `total` | number | Total price before discounts |
| `discountedTotal` | number | Total price after applying discounts |
| `userId` | number | ID of the user who owns the cart |
| `totalProducts` | number | Total number of distinct products in the cart |
| `totalQuantity` | number | Total quantity of all products combined |
### Error Response (Status 4xx)
Error responses will vary based on the validation failure but typically include error messages describing what went wrong.
## Test Validations
This request includes comprehensive test validations in the post-response script:
### 1\. **Status Code Validation**
- Validates that the response status code matches the expected value from the CSV data file
- Test: `"Status code matches expected value from CSV"`
### For Successful Responses (Status 201):
### 2\. **Performance Validation**
- Ensures the API responds within acceptable time limits
- Test: `"Response time is less than 2000ms"`
- Assertion: Response time must be below 2000 milliseconds
### 3\. **Content-Type Validation**
- Verifies the response returns JSON format
- Test: `"response Content-Type is application/json"`
- Assertion: Content-Type header includes "application/json"
### 4\. **Response Structure Validation**
- Confirms the response contains all required fields
- Test: `"Response body has the correct structure"`
- Assertion: Response must have keys: `id`, `products`, `total`, `discountedTotal`, `userId`, `totalProducts`, `totalQuantity`
### 5\. **Data Type Validation**
- Validates that each field has the correct data type
- Test: `"Response body fields have the correct data types"`
- Assertions:
- `id` must be a number
- `products` must be an array
- `total` must be a number
- `discountedTotal` must be a number
- `userId` must be a number
- `totalProducts` must be a number
- `totalQuantity` must be a number
### 6\. **Product Array Validation**
- Ensures the products array is not empty
- Test: `"Product array is not empty"`
- Assertion: Products array length must be greater than 0
### 7\. **User ID Validation**
- Verifies the returned cart belongs to the correct user
- Test: `"The returned cart belong to the same requested user id"`
- Assertion: Response `userId` matches the requested `userId` from the request body
---
**Usage Note:** This request is designed to be run with a CSV data file containing multiple test scenarios. Each row in the CSV should include `userId`, `products`, and `expected_status_add_cart` values to enable data-driven testing of both successful and error scenarios.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 8ec3296c-c2cb-46ad-b06a-fd3cdd332884 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 140 |
{
"userId": 5,
"products": [
{ "id": 2, "quantity": 4 },
{ "id": 3, "quantity": 1 },
{ "id": 7, "quantity": 2 }
]
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:57 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 807 |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 98 |
| x-ratelimit-reset | 1769721607 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"327-upUBl/zSu5ZxdiYA+JpXOr35zH0" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=97btcgLtV9KPw8cPZx4UX5N9YwjA%2BlP2lt03De3V%2FqMDHSJUvIOSPNhUbjcuYrOGucdmIMASS0osGnOgV3ah4l%2F430xPAYP26MeXMDQfvUWnDb9kSuRAglQ%3D"}]} |
| CF-RAY | 9c5bc54c8db60c5b-AMM |
{"id":51,"products":[{"id":2,"title":"Eyeshadow Palette with Mirror","price":19.99,"quantity":4,"total":79.96,"discountPercentage":18.19,"discountedPrice":65,"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/eyeshadow-palette-with-mirror/thumbnail.webp"},{"id":3,"title":"Powder Canister","price":14.99,"quantity":1,"total":14.99,"discountPercentage":9.84,"discountedPrice":14,"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/powder-canister/thumbnail.webp"},{"id":7,"title":"Chanel Coco Noir Eau De","price":129.99,"quantity":2,"total":259.98,"discountPercentage":16.51,"discountedPrice":217,"thumbnail":"https://cdn.dummyjson.com/product-images/fragrances/chanel-coco-noir-eau-de/thumbnail.webp"}],"total":354.93,"discountedTotal":296,"userId":5,"totalProducts":3,"totalQuantity":7}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code matches expected value from CSV | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-Type is application/json | 1 | 0 | 0 |
| Response body has the correct structure | 1 | 0 | 0 |
| Response body fields have the correct data types | 1 | 0 | 0 |
| Product array is not empty | 1 | 0 | 0 |
| returned cart belong to the same requested user id | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Delete Cart
## Overview
This endpoint deletes a specific cart from the system using the cart ID. It permanently removes the cart and returns confirmation of the deletion.
## Expected Behaviour
When this request is executed successfully:
- The specified cart is permanently deleted from the system
- A confirmation response is returned with deletion status
- The response includes a timestamp of when the deletion occurred
- The `isDeleted` flag is set to `true` in the response
## Request Details
**Method:** `DELETE`
**URL:** `https://dummyjson.com/carts/1`
**Headers:** None specified
**Body:** This DELETE request does not require a request body.
## Variables Used
This request uses the following variables:
- **`baseUrl`** - The base URL of the API endpoint
- **`cart_id`** - The unique identifier of the cart to be deleted
## Response Details
The API returns a JSON object with the following structure:
**Expected Response Structure:**
```json
{
"isDeleted": boolean,
"deletedOn": string
}
```
**Response Fields:**
- **`isDeleted`** (boolean) - Indicates whether the cart was successfully deleted. Should be `true` for successful deletion.
- **`deletedOn`** (string) - Timestamp indicating when the cart was deleted.
## Test Validations
This request includes the following automated test assertions:
1. **Status Code Validation** - Verifies that the response status code is 200 (OK)
2. **Response Time Validation** - Ensures the response time is less than 2000ms for performance monitoring
3. **Content-Type Validation** - Confirms the response Content-Type header is `application/json`
4. **Response Structure Validation** - Verifies that the response body is a valid JSON object
5. **isDeleted Property Validation** - Checks that the response contains an `isDeleted` property with boolean data type
6. **deletedOn Property Validation** - Checks that the response contains a `deletedOn` property with string data type
7. **Deletion Confirmation** - Validates that the `isDeleted` field is `true`, confirming successful cart deletion
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bf223b65-2f1f-478c-ad89-e6814c6e894e |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:57 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 97 |
| x-ratelimit-reset | 1769721603 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"499-679BgXzssO4lo9jhARqLF3jhsxs" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=1Au194D2v9thtaSrBBkNEKG4M7o9i0mppHCytU4g%2BAHR6UWHnBLZq0xgAakN1JE7NndUo5Z2Lo3tzKmCRcePW2JbUQrBZk1HIaDP2hYTCTPkXXtlYgH9jT0%3D"}]} |
| CF-RAY | 9c5bc54e09970c5b-AMM |
{"id":1,"products":[{"id":168,"title":"Charger SXT RWD","price":32999.99,"quantity":3,"total":98999.97,"discountPercentage":13.39,"discountedTotal":85743.87,"thumbnail":"https://cdn.dummyjson.com/products/images/vehicle/Charger%20SXT%20RWD/thumbnail.png"},{"id":78,"title":"Apple MacBook Pro 14 Inch Space Grey","price":1999.99,"quantity":2,"total":3999.98,"discountPercentage":18.52,"discountedTotal":3259.18,"thumbnail":"https://cdn.dummyjson.com/products/images/laptops/Apple%20MacBook%20Pro%2014%20Inch%20Space%20Grey/thumbnail.png"},{"id":183,"title":"Green Oval Earring","price":24.99,"quantity":5,"total":124.94999999999999,"discountPercentage":6.28,"discountedTotal":117.1,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-jewellery/Green%20Oval%20Earring/thumbnail.png"},{"id":100,"title":"Apple Airpods","price":129.99,"quantity":5,"total":649.95,"discountPercentage":12.84,"discountedTotal":566.5,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Apple%20Airpods/thumbnail.png"}],"total":103774.85,"discountedTotal":89686.65,"userId":33,"totalProducts":4,"totalQuantity":15,"isDeleted":true,"deletedOn":"2026-01-29T21:19:57.196Z"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body has is deleted property with correct data type | 1 | 0 | 0 |
| response body has deleted on property with correct data type | 1 | 0 | 0 |
| cart is deleted | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Get Cart with Invalid ID
## Overview
This is a **negative test case** designed to verify that the API correctly handles requests for non-existent cart resources. It tests the error handling behavior when attempting to retrieve a cart using an invalid or non-existent cart ID.
## Expected Behaviour
When this request is executed with an invalid cart ID, the API should:
- Return a **404 Not Found** HTTP status code
- Provide a JSON response containing an error message
- Include a descriptive message indicating that the requested cart was not found
This validates that the API properly handles invalid resource requests and returns appropriate error responses to clients.
## Request Details
**Method:** `GET`
**URL:** `https://dummyjson.com/carts/99999999`
**Headers:** Standard headers (no custom headers required for this request)
**Body:** No request body (GET request)
## Variables Used
This request uses the following variables:
- **`baseUrl`** - The base URL of the API endpoint (e.g., `https://dummyjson.com`)
- **`invalid_id`** - An invalid or non-existent cart ID used to trigger the error response (e.g., `99999`, `invalid`, or any ID that doesn't exist in the system)
These variables should be defined in your environment to ensure the request executes correctly.
## Response Details
**Expected Status Code:** `404 Not Found`
**Response Structure:**
```json
{
"message": "Cart with id '99999999' not found"
}
```
**Response Fields:**
- **`message`** (string) - An error message describing why the request failed. The message should contain text indicating that the cart was "not found".
## Test Validations
This request includes automated test assertions in the post-response script to validate the error handling:
1. **Status Code Validation**
- Verifies that the response status code is `404`
- Ensures the API returns the correct HTTP status for non-existent resources
2. **Error Message Presence**
- Checks that the response body contains a `message` property
- Validates that the API provides error details in the response
3. **Error Message Content**
- Confirms that the error message includes the text "not found" (case-insensitive)
- Ensures the error message is descriptive and meaningful for debugging
All three test validations must pass for this negative test case to be considered successful.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bb480cad-7b04-4dc3-b78c-d655a00d36c5 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:57 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 99 |
| x-ratelimit-reset | 1769721607 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"2f-05qhlTLrFNSg7wWDyWTbJENRvKY" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=t2Qd7IeuLsKPgO7OyUwwrRFqxOjIJMyfudvSjK%2FPc1wFBlpVvja6ESEItGxUuUURcCCfyUuDjNQ6At9qgmF1jvmFHadkJ1pv11p7Ay4vskQJV4EBV%2FPOvXY%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc54f6e0f0c5b-AMM |
{"message":"Cart with id '99999999' not found"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| response body contains error message | 1 | 0 | 0 |
| response body contains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Users-List
## Overview
This request retrieves a paginated list of all users from the DummyJSON API. It returns user information including personal details and account data in a structured JSON format.
## Purpose
This endpoint exists to provide access to the complete user database for testing purposes. It solves the problem of needing to retrieve multiple user records at once, supporting scenarios like:
- Displaying user lists in applications
- Testing pagination functionality
- Validating user data structures
- Performing bulk user operations
- Testing search and filter capabilities
## Expected Behaviour
When executed successfully, this request should:
- Return a 200 OK status code
- Respond within 2000 milliseconds
- Provide a JSON response with a users array containing user objects
- Include pagination metadata (total, skip, limit)
- Return properly structured user objects with all required fields
## Request Details
**Method:** `GET`
**URL:** `https://dummyjson.com/users`
**Headers:** None specified (default headers apply)
**Body:** No request body (GET request)
## Variables Used
- `baseUrl` - The base URL for the DummyJSON API endpoint (defined in the active environment)
## Response Details
The response returns a JSON object with the following structure:
**Root Level Fields:**
- `users` (array) - Array of user objects
- `total` (number) - Total number of users available
- `skip` (number) - Number of users skipped (for pagination)
- `limit` (number) - Maximum number of users returned per request
**User Object Structure:**
Each user object in the `users` array contains:
- `id` (number) - Unique identifier for the user
- `firstName` (string) - User's first name
- `lastName` (string) - User's last name
- `email` (string) - User's email address
- `username` (string) - User's username
**Example Response:**
```json
{
"users": [
{
"id": 1,
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"username": "johndoe"
}
],
"total": 100,
"skip": 0,
"limit": 30
}
```
## Test Validations
This request includes comprehensive automated test validations to ensure API reliability and data integrity:
1. **Status Code Validation**
- Verifies the response status code is 200 (OK)
2. **Performance Validation**
- Ensures response time is less than 2000 milliseconds
3. **Content-Type Validation**
- Confirms the response Content-Type header includes "application/json"
4. **Response Structure Validation**
- Verifies the response body contains a "users" property
- Confirms "users" is an array data type
5. **Data Presence Validation**
- Ensures the users array is not empty (contains at least one user)
6. **Required Fields Validation**
- Checks that each user object contains all required fields: id, firstName, lastName, email, username
7. **Data Type Validation**
- Validates that each user's fields have correct data types:
- `id` must be a number
- `firstName` must be a string
- `lastName` must be a string
- `email` must be a string
- `username` must be a string
8. **Pagination Fields Validation**
- Confirms the response includes pagination metadata: total, skip, limit
9. **Pagination Logic Validation**
- Verifies that the number of users returned does not exceed the specified limit
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6a0696f3-713a-40e4-997b-2465cee15646 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:57 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 95 |
| x-ratelimit-reset | 1769530921 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"a3b1-Wc+qCYPJ2IxKpnt00AlusGYMzCE" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| Age | 190678 |
| Cache-Control | no-store |
| cf-cache-status | HIT |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=2tREZSxcx2AH20MNMg40OTW0v0ShlMqe0T2xVYzsSnxP%2BQICNwKmC0p8L4ygwCyKHvBP0sAAS%2BDpVroSZCrWLAjbpt02KufbNnKZS%2F7DcSVEPWWbO8%2BdU9U%3D"}]} |
| CF-RAY | 9c5bc5510a750c5b-AMM |
{"users":[{"id":1,"firstName":"Emily","lastName":"Johnson","maidenName":"Smith","age":29,"gender":"female","email":"emily.johnson@x.dummyjson.com","phone":"+81 965-431-3024","username":"emilys","password":"emilyspass","birthDate":"1996-5-30","image":"https://dummyjson.com/icon/emilys/128","bloodGroup":"O-","height":193.24,"weight":63.16,"eyeColor":"Green","hair":{"color":"Brown","type":"Curly"},"ip":"42.48.100.32","address":{"address":"626 Main Street","city":"Phoenix","state":"Mississippi","stateCode":"MS","postalCode":"29112","coordinates":{"lat":-77.16213,"lng":-92.084824},"country":"United States"},"macAddress":"47:fa:41:18:ec:eb","university":"University of Wisconsin--Madison","bank":{"cardExpire":"05/28","cardNumber":"3693233511855044","cardType":"Diners Club International","currency":"GBP","iban":"GB74MH2UZLR9TRPHYNU8F8"},"company":{"department":"Engineering","name":"Dooley, Kozey and Cronin","title":"Sales Manager","address":{"address":"263 Tenth Street","city":"San Francisco","state":"Wisconsin","stateCode":"WI","postalCode":"37657","coordinates":{"lat":71.814525,"lng":-161.150263},"country":"United States"}},"ein":"977-175","ssn":"900-590-289","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"},{"id":2,"firstName":"Michael","lastName":"Williams","maidenName":"","age":36,"gender":"male","email":"michael.williams@x.dummyjson.com","phone":"+49 258-627-6644","username":"michaelw","password":"michaelwpass","birthDate":"1989-8-10","image":"https://dummyjson.com/icon/michaelw/128","bloodGroup":"B+","height":186.22,"weight":76.32,"eyeColor":"Red","hair":{"color":"Green","type":"Straight"},"ip":"12.13.116.142","address":{"address":"385 Fifth Street","city":"Houston","state":"Alabama","stateCode":"AL","postalCode":"38807","coordinates":{"lat":22.815468,"lng":115.608581},"country":"United States"},"macAddress":"79:15:78:99:60:aa","university":"Ohio State University","bank":{"cardExpire":"01/30","cardNumber":"3530633803003665","cardType":"JCB","currency":"USD","iban":"DE26362283149158045865"},"company":{"department":"Support","name":"Spinka - Dickinson","title":"Support Specialist","address":{"address":"395 Main Street","city":"Los Angeles","state":"New Hampshire","stateCode":"NH","postalCode":"73442","coordinates":{"lat":79.098326,"lng":-119.624845},"country":"United States"}},"ein":"912-602","ssn":"108-953-962","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Edge/97.0.1072.76 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"},{"id":3,"firstName":"Sophia","lastName":"Brown","maidenName":"","age":43,"gender":"female","email":"sophia.brown@x.dummyjson.com","phone":"+81 210-652-2785","username":"sophiab","password":"sophiabpass","birthDate":"1982-11-6","image":"https://dummyjson.com/icon/sophiab/128","bloodGroup":"O-","height":177.72,"weight":52.6,"eyeColor":"Hazel","hair":{"color":"White","type":"Wavy"},"ip":"214.225.51.195","address":{"address":"1642 Ninth Street","city":"Washington","state":"Alabama","stateCode":"AL","postalCode":"32822","coordinates":{"lat":45.289366,"lng":46.832664},"country":"United States"},"macAddress":"12:a3:d3:6f:5c:5b","university":"Pepperdine University","bank":{"cardExpire":"10/27","cardNumber":"6011212053392887","cardType":"Discover","currency":"EUR","iban":"DE12191213468288004835"},"company":{"department":"Research and Development","name":"Schiller - Zieme","title":"Accountant","address":{"address":"1896 Washington Street","city":"Dallas","state":"Nevada","stateCode":"NV","postalCode":"88511","coordinates":{"lat":20.086743,"lng":-34.577107},"country":"United States"}},"ein":"963-113","ssn":"638-461-822","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"},{"id":4,"firstName":"James","lastName":"Davis","maidenName":"","age":46,"gender":"male","email":"james.davis@x.dummyjson.com","phone":"+49 614-958-9364","username":"jamesd","password":"jamesdpass","birthDate":"1979-5-4","image":"https://dummyjson.com/icon/jamesd/128","bloodGroup":"AB+","height":193.31,"weight":62.1,"eyeColor":"Amber","hair":{"color":"Blonde","type":"Straight"},"ip":"101.118.131.66","address":{"address":"238 Jefferson Street","city":"Seattle","state":"Pennsylvania","stateCode":"PA","postalCode":"68354","coordinates":{"lat":16.782513,"lng":-139.34723},"country":"United States"},"macAddress":"10:7d:df:1f:97:58","university":"University of Southern California","bank":{"cardExpire":"07/30","cardNumber":"5303440212268149","cardType":"Mastercard","currency":"CAD","iban":"DE01300746880579852937"},"company":{"department":"Support","name":"Pagac and Sons","title":"Research Analyst","address":{"address":"1622 Lincoln Street","city":"Fort Worth","state":"Pennsylvania","stateCode":"PA","postalCode":"27768","coordinates":{"lat":54.91193,"lng":-79.498328},"country":"United States"}},"ein":"904-810","ssn":"116-951-314","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"},{"id":5,"firstName":"Emma","lastName":"Miller","maidenName":"Johnson","age":31,"gender":"female","email":"emma.miller@x.dummyjson.com","phone":"+91 759-776-1614","username":"emmaj","password":"emmajpass","birthDate":"1994-6-13","image":"https://dummyjson.com/icon/emmaj/128","bloodGroup":"AB-","height":192.8,"weight":63.62,"eyeColor":"Green","hair":{"color":"White","type":"Straight"},"ip":"224.126.22.183","address":{"address":"607 Fourth Street","city":"Jacksonville","state":"Colorado","stateCode":"CO","postalCode":"26593","coordinates":{"lat":0.505589,"lng":-157.43281},"country":"United States"},"macAddress":"32:b9:7e:8d:f5:e8","university":"Northeastern University","bank":{"cardExpire":"07/30","cardNumber":"5237188057591130","cardType":"Mastercard","currency":"NZD","iban":"DE19182355652037133559"},"company":{"department":"Human Resources","name":"Graham - Gulgowski","title":"Quality Assurance Engineer","address":{"address":"1460 Sixth Street","city":"San Antonio","state":"Idaho","stateCode":"ID","postalCode":"21965","coordinates":{"lat":44.346545,"lng":-26.944701},"country":"United States"}},"ein":"403-505","ssn":"526-210-885","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"},{"id":6,"firstName":"Olivia","lastName":"Wilson","maidenName":"","age":23,"gender":"female","email":"olivia.wilson@x.dummyjson.com","phone":"+91 607-295-6448","username":"oliviaw","password":"oliviawpass","birthDate":"2002-4-20","image":"https://dummyjson.com/icon/oliviaw/128","bloodGroup":"B+","height":182.61,"weight":58,"eyeColor":"Hazel","hair":{"color":"Gray","type":"Curly"},"ip":"249.178.112.207","address":{"address":"547 First Street","city":"Fort Worth","state":"Tennessee","stateCode":"TN","postalCode":"83843","coordinates":{"lat":75.32627,"lng":-26.15285},"country":"United States"},"macAddress":"9c:7f:ea:34:18:19","university":"University of North Carolina--Chapel Hill","bank":{"cardExpire":"06/30","cardNumber":"376320072452632","cardType":"American Express","currency":"NZD","iban":"DE21153814367894194071"},"company":{"department":"Product Management","name":"Pfannerstill Inc","title":"Research Analyst","address":{"address":"425 Sixth Street","city":"Indianapolis","state":"Oklahoma","stateCode":"OK","postalCode":"74263","coordinates":{"lat":74.986644,"lng":-132.916888},"country":"United States"}},"ein":"921-709","ssn":"836-772-168","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":7,"firstName":"Alexander","lastName":"Jones","maidenName":"","age":39,"gender":"male","email":"alexander.jones@x.dummyjson.com","phone":"+61 260-824-4986","username":"alexanderj","password":"alexanderjpass","birthDate":"1986-10-20","image":"https://dummyjson.com/icon/alexanderj/128","bloodGroup":"AB-","height":153.89,"weight":77.42,"eyeColor":"Blue","hair":{"color":"White","type":"Straight"},"ip":"166.204.84.32","address":{"address":"664 Maple Street","city":"Indianapolis","state":"Delaware","stateCode":"DE","postalCode":"86684","coordinates":{"lat":35.289664,"lng":7.063255},"country":"United States"},"macAddress":"d2:64:58:2d:1c:46","university":"University of Illinois--Urbana-Champaign","bank":{"cardExpire":"12/29","cardNumber":"5189302549548693","cardType":"Mastercard","currency":"PKR","iban":"DE67517655968963441488"},"company":{"department":"Engineering","name":"Dickens - Beahan","title":"Web Developer","address":{"address":"996 Eighth Street","city":"Washington","state":"Kansas","stateCode":"KS","postalCode":"27858","coordinates":{"lat":-75.462366,"lng":-128.025697},"country":"United States"}},"ein":"638-127","ssn":"722-993-925","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":8,"firstName":"Ava","lastName":"Taylor","maidenName":"","age":28,"gender":"female","email":"ava.taylor@x.dummyjson.com","phone":"+1 458-853-7877","username":"avat","password":"avatpass","birthDate":"1997-8-25","image":"https://dummyjson.com/icon/avat/128","bloodGroup":"AB-","height":168.47,"weight":57.08,"eyeColor":"Hazel","hair":{"color":"Red","type":"Kinky"},"ip":"150.73.197.233","address":{"address":"1197 First Street","city":"Fort Worth","state":"Rhode Island","stateCode":"RI","postalCode":"24771","coordinates":{"lat":-81.194833,"lng":-87.948158},"country":"United States"},"macAddress":"8d:2e:c2:d6:e7:a8","university":"University of Wisconsin--Madison","bank":{"cardExpire":"08/30","cardNumber":"5349974103330333","cardType":"Mastercard","currency":"EUR","iban":"FR94ZM2MMGL1EVYQE1ZLCVCFH83"},"company":{"department":"Marketing","name":"Nikolaus Inc","title":"Chief Executive Officer","address":{"address":"930 Lincoln Street","city":"Austin","state":"Colorado","stateCode":"CO","postalCode":"47592","coordinates":{"lat":87.970083,"lng":-42.769351},"country":"United States"}},"ein":"297-762","ssn":"257-419-109","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":9,"firstName":"Ethan","lastName":"Martinez","maidenName":"","age":34,"gender":"male","email":"ethan.martinez@x.dummyjson.com","phone":"+92 933-608-5081","username":"ethanm","password":"ethanmpass","birthDate":"1991-2-12","image":"https://dummyjson.com/icon/ethanm/128","bloodGroup":"AB+","height":159.19,"weight":68.81,"eyeColor":"Hazel","hair":{"color":"Purple","type":"Curly"},"ip":"63.191.127.71","address":{"address":"466 Pine Street","city":"San Antonio","state":"Louisiana","stateCode":"LA","postalCode":"72360","coordinates":{"lat":74.074918,"lng":-25.312703},"country":"United States"},"macAddress":"59:e:9e:e3:29:da","university":"Syracuse University","bank":{"cardExpire":"10/27","cardNumber":"3598603288061479","cardType":"JCB","currency":"GBP","iban":"GB26PND7D83JTW4HL6LZ71"},"company":{"department":"Support","name":"Gorczany - Gottlieb","title":"Legal Counsel","address":{"address":"1597 Oak Street","city":"Chicago","state":"Florida","stateCode":"FL","postalCode":"28100","coordinates":{"lat":-67.45208,"lng":-23.209886},"country":"United States"}},"ein":"790-434","ssn":"569-650-348","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":10,"firstName":"Isabella","lastName":"Anderson","maidenName":"Davis","age":32,"gender":"female","email":"isabella.anderson@x.dummyjson.com","phone":"+49 770-658-4885","username":"isabellad","password":"isabelladpass","birthDate":"1993-6-10","image":"https://dummyjson.com/icon/isabellad/128","bloodGroup":"A-","height":150.56,"weight":50.1,"eyeColor":"Brown","hair":{"color":"Blonde","type":"Curly"},"ip":"114.9.114.205","address":{"address":"1964 Oak Street","city":"New York","state":"Utah","stateCode":"UT","postalCode":"89352","coordinates":{"lat":41.331324,"lng":151.782727},"country":"United States"},"macAddress":"b1:b0:d0:a2:82:80","university":"California Institute of Technology (Caltech)","bank":{"cardExpire":"03/30","cardNumber":"3602093733952858","cardType":"Diners Club International","currency":"USD","iban":"DE12934874962442340025"},"company":{"department":"Marketing","name":"Pollich - Hilpert","title":"Chief Financial Officer","address":{"address":"1029 Adams Street","city":"San Diego","state":"Maryland","stateCode":"MD","postalCode":"63847","coordinates":{"lat":-25.843393,"lng":-62.692681},"country":"United States"}},"ein":"127-297","ssn":"902-438-728","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":11,"firstName":"Liam","lastName":"Garcia","maidenName":"","age":30,"gender":"male","email":"liam.garcia@x.dummyjson.com","phone":"+92 870-217-6201","username":"liamg","password":"liamgpass","birthDate":"1995-6-6","image":"https://dummyjson.com/icon/liamg/128","bloodGroup":"AB-","height":162.32,"weight":93.16,"eyeColor":"Violet","hair":{"color":"Red","type":"Wavy"},"ip":"56.201.85.9","address":{"address":"576 Fifth Street","city":"Denver","state":"South Dakota","stateCode":"SD","postalCode":"57252","coordinates":{"lat":-66.218177,"lng":-145.340165},"country":"United States"},"macAddress":"31:9a:28:8b:99:6c","university":"Ohio State University","bank":{"cardExpire":"12/29","cardNumber":"3614993744940956","cardType":"Diners Club International","currency":"USD","iban":"DE65581882748067758114"},"company":{"department":"Services","name":"Considine - Torp","title":"Web Developer","address":{"address":"27 Cedar Street","city":"Philadelphia","state":"Connecticut","stateCode":"CT","postalCode":"79574","coordinates":{"lat":-81.841588,"lng":31.79423},"country":"United States"}},"ein":"326-604","ssn":"933-784-949","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":12,"firstName":"Mia","lastName":"Rodriguez","maidenName":"","age":25,"gender":"female","email":"mia.rodriguez@x.dummyjson.com","phone":"+49 989-461-8403","username":"miar","password":"miarpass","birthDate":"2000-8-4","image":"https://dummyjson.com/icon/miar/128","bloodGroup":"O-","height":188.08,"weight":56.03,"eyeColor":"Blue","hair":{"color":"Purple","type":"Wavy"},"ip":"11.72.253.90","address":{"address":"1627 Sixth Street","city":"Jacksonville","state":"West Virginia","stateCode":"WV","postalCode":"41810","coordinates":{"lat":24.857497,"lng":-34.865429},"country":"United States"},"macAddress":"53:d7:a4:6:1e:58","university":"William & Mary","bank":{"cardExpire":"02/29","cardNumber":"343932350909214","cardType":"American Express","currency":"CAD","iban":"DE77118774979880310165"},"company":{"department":"Accounting","name":"Miller, Schowalter and Wisozk","title":"Business Analyst","address":{"address":"1039 Washington Street","city":"Philadelphia","state":"New Jersey","stateCode":"NJ","postalCode":"57518","coordinates":{"lat":85.455933,"lng":164.246103},"country":"United States"}},"ein":"754-660","ssn":"749-524-124","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":13,"firstName":"Noah","lastName":"Hernandez","maidenName":"","age":41,"gender":"male","email":"noah.hernandez@x.dummyjson.com","phone":"+49 393-605-6968","username":"noahh","password":"noahhpass","birthDate":"1984-6-5","image":"https://dummyjson.com/icon/noahh/128","bloodGroup":"AB+","height":188.62,"weight":69.49,"eyeColor":"Brown","hair":{"color":"Red","type":"Curly"},"ip":"169.154.126.57","address":{"address":"1413 Maple Street","city":"New York","state":"North Dakota","stateCode":"ND","postalCode":"73696","coordinates":{"lat":-25.0377,"lng":-151.70469},"country":"United States"},"macAddress":"d4:fe:ae:8f:eb:a3","university":"New York University (NYU)","bank":{"cardExpire":"03/30","cardNumber":"6262462852322850","cardType":"UnionPay","currency":"PKR","iban":"DE13437032020581217601"},"company":{"department":"Engineering","name":"Botsford, Marquardt and Roberts","title":"Database Administrator","address":{"address":"62 Third Street","city":"Seattle","state":"Oregon","stateCode":"OR","postalCode":"83474","coordinates":{"lat":19.490447,"lng":-13.173207},"country":"United States"}},"ein":"877-628","ssn":"660-847-389","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":14,"firstName":"Charlotte","lastName":"Lopez","maidenName":"Martinez","age":37,"gender":"female","email":"charlotte.lopez@x.dummyjson.com","phone":"+44 373-953-5028","username":"charlottem","password":"charlottempass","birthDate":"1988-6-8","image":"https://dummyjson.com/icon/charlottem/128","bloodGroup":"AB-","height":178.92,"weight":82.46,"eyeColor":"Brown","hair":{"color":"Gray","type":"Kinky"},"ip":"119.103.95.60","address":{"address":"208 Second Street","city":"Columbus","state":"Ohio","stateCode":"OH","postalCode":"42044","coordinates":{"lat":-44.443762,"lng":-151.420561},"country":"United States"},"macAddress":"f6:ff:37:aa:6c:f1","university":"Northeastern University","bank":{"cardExpire":"12/27","cardNumber":"3634388457177035","cardType":"Diners Club International","currency":"PKR","iban":"DE54092147842698685963"},"company":{"department":"Accounting","name":"Zulauf and Sons","title":"Chief Executive Officer","address":{"address":"569 Jefferson Street","city":"Los Angeles","state":"Montana","stateCode":"MT","postalCode":"17779","coordinates":{"lat":-18.371256,"lng":22.566258},"country":"United States"}},"ein":"364-782","ssn":"255-491-479","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":15,"firstName":"William","lastName":"Gonzalez","maidenName":"","age":33,"gender":"male","email":"william.gonzalez@x.dummyjson.com","phone":"+81 905-252-7319","username":"williamg","password":"williamgpass","birthDate":"1992-3-27","image":"https://dummyjson.com/icon/williamg/128","bloodGroup":"B-","height":173.21,"weight":82.41,"eyeColor":"Hazel","hair":{"color":"Gray","type":"Curly"},"ip":"250.2.241.204","address":{"address":"31 Maple Street","city":"San Jose","state":"Utah","stateCode":"UT","postalCode":"78243","coordinates":{"lat":8.152876,"lng":113.29799},"country":"United States"},"macAddress":"f5:68:28:f9:ec:89","university":"Tufts University","bank":{"cardExpire":"05/30","cardNumber":"6228256225004929","cardType":"UnionPay","currency":"PKR","iban":"DE63711022986572448914"},"company":{"department":"Marketing","name":"Spinka - Dickinson","title":"Software Architect","address":{"address":"1538 Eighth Street","city":"San Jose","state":"Missouri","stateCode":"MO","postalCode":"29673","coordinates":{"lat":24.169361,"lng":-29.395167},"country":"United States"}},"ein":"830-515","ssn":"690-544-755","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":16,"firstName":"Avery","lastName":"Perez","maidenName":"","age":26,"gender":"female","email":"avery.perez@x.dummyjson.com","phone":"+61 731-431-3457","username":"averyp","password":"averyppass","birthDate":"1999-3-10","image":"https://dummyjson.com/icon/averyp/128","bloodGroup":"O-","height":172.68,"weight":93.9,"eyeColor":"Brown","hair":{"color":"Green","type":"Curly"},"ip":"131.217.4.214","address":{"address":"1125 First Street","city":"Columbus","state":"Iowa","stateCode":"IA","postalCode":"30973","coordinates":{"lat":12.789127,"lng":85.792598},"country":"United States"},"macAddress":"b3:ff:f3:c5:37:46","university":"Harvard University","bank":{"cardExpire":"08/29","cardNumber":"378024038311910","cardType":"American Express","currency":"USD","iban":"DE42403186906981858976"},"company":{"department":"Accounting","name":"Herzog Inc","title":"Database Administrator","address":{"address":"183 Maple Street","city":"New York","state":"Rhode Island","stateCode":"RI","postalCode":"45238","coordinates":{"lat":-53.318189,"lng":105.835271},"country":"United States"}},"ein":"348-493","ssn":"679-523-686","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":17,"firstName":"Evelyn","lastName":"Sanchez","maidenName":"","age":38,"gender":"female","email":"evelyn.sanchez@x.dummyjson.com","phone":"+1 623-880-6871","username":"evelyns","password":"evelynspass","birthDate":"1987-10-13","image":"https://dummyjson.com/icon/evelyns/128","bloodGroup":"B+","height":184.08,"weight":83.15,"eyeColor":"Violet","hair":{"color":"Blue","type":"Curly"},"ip":"87.114.135.146","address":{"address":"1170 Lincoln Street","city":"San Diego","state":"Wyoming","stateCode":"WY","postalCode":"43423","coordinates":{"lat":-83.31484,"lng":11.768071},"country":"United States"},"macAddress":"f8:e5:bd:43:bc:d8","university":"Washington University in St. Louis","bank":{"cardExpire":"01/29","cardNumber":"3514443781649095","cardType":"JCB","currency":"GBP","iban":"GB74239MLVNQ0UB9ANTFRM"},"company":{"department":"Support","name":"Predovic - Johns","title":"Chief Financial Officer","address":{"address":"1802 Ninth Street","city":"San Diego","state":"Minnesota","stateCode":"MN","postalCode":"89416","coordinates":{"lat":29.034592,"lng":-78.004598},"country":"United States"}},"ein":"604-817","ssn":"689-332-644","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":18,"firstName":"Logan","lastName":"Torres","maidenName":"","age":32,"gender":"male","email":"logan.torres@x.dummyjson.com","phone":"+81 507-434-8733","username":"logant","password":"logantpass","birthDate":"1993-10-26","image":"https://dummyjson.com/icon/logant/128","bloodGroup":"A+","height":190.04,"weight":72.43,"eyeColor":"Green","hair":{"color":"Green","type":"Curly"},"ip":"155.98.15.162","address":{"address":"907 Seventh Street","city":"Columbus","state":"Arkansas","stateCode":"AR","postalCode":"78805","coordinates":{"lat":-64.846516,"lng":174.775744},"country":"United States"},"macAddress":"40:d:5c:1:7d:bf","university":"University of Illinois--Urbana-Champaign","bank":{"cardExpire":"04/30","cardNumber":"6258651210557142","cardType":"UnionPay","currency":"EUR","iban":"ES1171429445321693077621"},"company":{"department":"Training","name":"Jast - Nader","title":"Data Analyst","address":{"address":"947 Main Street","city":"Denver","state":"Minnesota","stateCode":"MN","postalCode":"71896","coordinates":{"lat":-24.654063,"lng":-147.255268},"country":"United States"}},"ein":"576-218","ssn":"806-639-934","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":19,"firstName":"Abigail","lastName":"Rivera","maidenName":"","age":29,"gender":"female","email":"abigail.rivera@x.dummyjson.com","phone":"+91 228-363-7806","username":"abigailr","password":"abigailrpass","birthDate":"1996-10-11","image":"https://dummyjson.com/icon/abigailr/128","bloodGroup":"B+","height":186.39,"weight":74.61,"eyeColor":"Violet","hair":{"color":"Blue","type":"Kinky"},"ip":"19.183.240.94","address":{"address":"996 Oak Street","city":"Chicago","state":"New Mexico","stateCode":"NM","postalCode":"11407","coordinates":{"lat":44.321308,"lng":-3.723903},"country":"United States"},"macAddress":"1d:a6:58:2a:e5:e4","university":"California Institute of Technology (Caltech)","bank":{"cardExpire":"01/27","cardNumber":"6011399019022417","cardType":"Discover","currency":"EUR","iban":"IT11QP2B5J81QM1FBX029VI5DD68O"},"company":{"department":"Human Resources","name":"Prohaska - Thiel","title":"Business Analyst","address":{"address":"1402 Adams Street","city":"Austin","state":"Wisconsin","stateCode":"WI","postalCode":"51456","coordinates":{"lat":25.672938,"lng":-76.54967},"country":"United States"}},"ein":"173-637","ssn":"655-823-929","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Edge/97.0.1072.76 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":20,"firstName":"Jackson","lastName":"Evans","maidenName":"","age":35,"gender":"male","email":"jackson.evans@x.dummyjson.com","phone":"+44 468-628-6686","username":"jacksone","password":"jacksonepass","birthDate":"1990-11-30","image":"https://dummyjson.com/icon/jacksone/128","bloodGroup":"O-","height":162.57,"weight":74.37,"eyeColor":"Green","hair":{"color":"Red","type":"Straight"},"ip":"221.127.144.198","address":{"address":"1873 Main Street","city":"New York","state":"Arkansas","stateCode":"AR","postalCode":"26600","coordinates":{"lat":34.722451,"lng":63.448927},"country":"United States"},"macAddress":"81:14:1:97:88:85","university":"Ohio State University","bank":{"cardExpire":"07/30","cardNumber":"376760688512826","cardType":"American Express","currency":"GBP","iban":"GB27CM0H0MNPXSPDGA0A1O"},"company":{"department":"Legal","name":"Kuhlman LLC","title":"Web Developer","address":{"address":"1706 First Street","city":"Chicago","state":"Hawaii","stateCode":"HI","postalCode":"34725","coordinates":{"lat":-80.416937,"lng":-83.224516},"country":"United States"}},"ein":"843-260","ssn":"248-787-886","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":21,"firstName":"Madison","lastName":"Collins","maidenName":"","age":27,"gender":"female","email":"madison.collins@x.dummyjson.com","phone":"+81 259-957-5711","username":"madisonc","password":"madisoncpass","birthDate":"1998-3-7","image":"https://dummyjson.com/icon/madisonc/128","bloodGroup":"B-","height":189.28,"weight":56.96,"eyeColor":"Red","hair":{"color":"Gray","type":"Curly"},"ip":"85.34.1.204","address":{"address":"1892 Lincoln Street","city":"Philadelphia","state":"New Jersey","stateCode":"NJ","postalCode":"62091","coordinates":{"lat":52.993694,"lng":160.486892},"country":"United States"},"macAddress":"13:b0:d0:23:4d:26","university":"University of Pennsylvania","bank":{"cardExpire":"09/27","cardNumber":"5551259848327064","cardType":"Mastercard","currency":"EUR","iban":"ES3893300143587765232049"},"company":{"department":"Engineering","name":"Mayer - Smitham","title":"Chief Technology Officer","address":{"address":"1438 Main Street","city":"San Diego","state":"Delaware","stateCode":"DE","postalCode":"63144","coordinates":{"lat":1.629613,"lng":23.232982},"country":"United States"}},"ein":"716-166","ssn":"457-258-950","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":22,"firstName":"Elijah","lastName":"Stewart","maidenName":"","age":34,"gender":"male","email":"elijah.stewart@x.dummyjson.com","phone":"+44 468-357-7872","username":"elijahs","password":"elijahspass","birthDate":"1991-10-22","image":"https://dummyjson.com/icon/elijahs/128","bloodGroup":"A-","height":195.33,"weight":81.64,"eyeColor":"Blue","hair":{"color":"Purple","type":"Straight"},"ip":"23.87.135.62","address":{"address":"1701 Eighth Street","city":"Columbus","state":"Illinois","stateCode":"IL","postalCode":"31585","coordinates":{"lat":-54.833799,"lng":-174.504027},"country":"United States"},"macAddress":"75:17:c6:35:fc:6d","university":"Georgetown University","bank":{"cardExpire":"05/28","cardNumber":"3648138556543460","cardType":"Diners Club International","currency":"EUR","iban":"DE82018985741195770313"},"company":{"department":"Legal","name":"Langworth Group","title":"Business Analyst","address":{"address":"155 Ninth Street","city":"Washington","state":"South Dakota","stateCode":"SD","postalCode":"19039","coordinates":{"lat":61.279254,"lng":-12.607767},"country":"United States"}},"ein":"520-394","ssn":"287-380-801","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":23,"firstName":"Chloe","lastName":"Morales","maidenName":"","age":40,"gender":"female","email":"chloe.morales@x.dummyjson.com","phone":"+92 468-541-7133","username":"chloem","password":"chloempass","birthDate":"1985-4-21","image":"https://dummyjson.com/icon/chloem/128","bloodGroup":"O+","height":185.07,"weight":63.97,"eyeColor":"Brown","hair":{"color":"Red","type":"Kinky"},"ip":"66.78.20.21","address":{"address":"401 Fourth Street","city":"Dallas","state":"New Jersey","stateCode":"NJ","postalCode":"54972","coordinates":{"lat":-30.190759,"lng":-58.705979},"country":"United States"},"macAddress":"fc:f:29:e1:37:b8","university":"Syracuse University","bank":{"cardExpire":"09/30","cardNumber":"347036238254235","cardType":"American Express","currency":"CNY","iban":"DE77762461851744284392"},"company":{"department":"Sales","name":"Grady LLC","title":"Database Administrator","address":{"address":"269 Third Street","city":"Houston","state":"North Carolina","stateCode":"NC","postalCode":"10385","coordinates":{"lat":40.098115,"lng":-1.762972},"country":"United States"}},"ein":"913-597","ssn":"938-883-163","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":24,"firstName":"Mateo","lastName":"Nguyen","maidenName":"","age":31,"gender":"male","email":"mateo.nguyen@x.dummyjson.com","phone":"+1 341-597-6694","username":"mateon","password":"mateonpass","birthDate":"1994-6-2","image":"https://dummyjson.com/icon/mateon/128","bloodGroup":"O+","height":174.29,"weight":59.98,"eyeColor":"Red","hair":{"color":"Purple","type":"Wavy"},"ip":"192.57.144.7","address":{"address":"1578 Fourth Street","city":"Columbus","state":"Missouri","stateCode":"MO","postalCode":"20673","coordinates":{"lat":-32.828675,"lng":-82.557354},"country":"United States"},"macAddress":"a7:26:10:7a:36:29","university":"Columbia University","bank":{"cardExpire":"12/29","cardNumber":"4021840414995098","cardType":"Visa","currency":"CAD","iban":"DE43275561962007561223"},"company":{"department":"Accounting","name":"Spinka LLC","title":"Business Analyst","address":{"address":"1967 Jefferson Street","city":"Dallas","state":"Louisiana","stateCode":"LA","postalCode":"78527","coordinates":{"lat":75.982676,"lng":164.459743},"country":"United States"}},"ein":"229-249","ssn":"416-877-230","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":25,"firstName":"Harper","lastName":"Kelly","maidenName":"Evans","age":28,"gender":"female","email":"harper.kelly@x.dummyjson.com","phone":"+92 518-863-2863","username":"harpere","password":"harperepass","birthDate":"1997-3-3","image":"https://dummyjson.com/icon/harpere/128","bloodGroup":"AB-","height":184.32,"weight":81.69,"eyeColor":"Amber","hair":{"color":"Red","type":"Curly"},"ip":"174.111.61.162","address":{"address":"1591 Adams Street","city":"Philadelphia","state":"New York","stateCode":"NY","postalCode":"69521","coordinates":{"lat":-26.832913,"lng":-75.445017},"country":"United States"},"macAddress":"b:ff:33:67:94:e4","university":"Boston College","bank":{"cardExpire":"06/27","cardNumber":"4488823564436432","cardType":"Visa","currency":"EUR","iban":"ES5874149276753342261515"},"company":{"department":"Legal","name":"Leffler, Rolfson and Becker","title":"Business Development Manager","address":{"address":"16 Maple Street","city":"Austin","state":"North Carolina","stateCode":"NC","postalCode":"68274","coordinates":{"lat":-15.423746,"lng":149.298887},"country":"United States"}},"ein":"592-557","ssn":"209-544-548","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":26,"firstName":"Evelyn","lastName":"Gonzalez","maidenName":"","age":36,"gender":"female","email":"evelyn.gonzalez@x.dummyjson.com","phone":"+61 708-508-4638","username":"evelyng","password":"evelyngpass","birthDate":"1989-2-5","image":"https://dummyjson.com/icon/evelyng/128","bloodGroup":"O+","height":168.94,"weight":58.47,"eyeColor":"Red","hair":{"color":"Black","type":"Wavy"},"ip":"42.52.74.232","address":{"address":"1065 Lincoln Street","city":"Dallas","state":"Maine","stateCode":"ME","postalCode":"84898","coordinates":{"lat":67.768359,"lng":71.268643},"country":"United States"},"macAddress":"89:5e:5a:2a:72:42","university":"Washington University in St. Louis","bank":{"cardExpire":"08/28","cardNumber":"6011735364912274","cardType":"Discover","currency":"CAD","iban":"DE27147353096476220032"},"company":{"department":"Accounting","name":"Tromp, Gaylord and Weber","title":"Project Manager","address":{"address":"584 Ninth Street","city":"Jacksonville","state":"Wisconsin","stateCode":"WI","postalCode":"45633","coordinates":{"lat":26.014021,"lng":40.572436},"country":"United States"}},"ein":"569-275","ssn":"487-680-127","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":27,"firstName":"Daniel","lastName":"Cook","maidenName":"","age":42,"gender":"male","email":"daniel.cook@x.dummyjson.com","phone":"+44 254-761-6843","username":"danielc","password":"danielcpass","birthDate":"1983-12-25","image":"https://dummyjson.com/icon/danielc/128","bloodGroup":"AB+","height":186.21,"weight":83.72,"eyeColor":"Brown","hair":{"color":"Blonde","type":"Curly"},"ip":"1.61.73.142","address":{"address":"1163 Pine Street","city":"Los Angeles","state":"Nevada","stateCode":"NV","postalCode":"58781","coordinates":{"lat":-3.456681,"lng":-134.937482},"country":"United States"},"macAddress":"6e:73:dc:3a:85:10","university":"Columbia University","bank":{"cardExpire":"05/29","cardNumber":"5485409595328150","cardType":"Mastercard","currency":"NZD","iban":"DE71341603969952506034"},"company":{"department":"Support","name":"Morissette, Baumbach and Auer","title":"Legal Counsel","address":{"address":"938 Fifth Street","city":"San Francisco","state":"South Dakota","stateCode":"SD","postalCode":"45305","coordinates":{"lat":21.323588,"lng":-83.531427},"country":"United States"}},"ein":"585-905","ssn":"645-515-583","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":28,"firstName":"Lily","lastName":"Lee","maidenName":"Brown","age":30,"gender":"female","email":"lily.lee@x.dummyjson.com","phone":"+1 808-757-9867","username":"lilyb","password":"lilybpass","birthDate":"1995-12-3","image":"https://dummyjson.com/icon/lilyb/128","bloodGroup":"AB-","height":181.42,"weight":51.49,"eyeColor":"Gray","hair":{"color":"Purple","type":"Straight"},"ip":"67.184.255.96","address":{"address":"1946 Oak Street","city":"Phoenix","state":"Massachusetts","stateCode":"MA","postalCode":"41540","coordinates":{"lat":-9.87059,"lng":-72.336845},"country":"United States"},"macAddress":"18:b6:c7:a:50:3f","university":"Johns Hopkins University","bank":{"cardExpire":"12/28","cardNumber":"5551782139834613","cardType":"Mastercard","currency":"CAD","iban":"DE49484285539189712621"},"company":{"department":"Product Management","name":"Cremin Inc","title":"Quality Assurance Engineer","address":{"address":"1735 Cedar Street","city":"Phoenix","state":"Wyoming","stateCode":"WY","postalCode":"85797","coordinates":{"lat":72.231441,"lng":-158.147245},"country":"United States"}},"ein":"229-776","ssn":"358-185-671","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Edge/97.0.1072.76 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":29,"firstName":"Henry","lastName":"Hill","maidenName":"","age":39,"gender":"male","email":"henry.hill@x.dummyjson.com","phone":"+1 240-833-4680","username":"henryh","password":"henryhpass","birthDate":"1986-8-19","image":"https://dummyjson.com/icon/henryh/128","bloodGroup":"O-","height":180.25,"weight":95.84,"eyeColor":"Gray","hair":{"color":"Black","type":"Straight"},"ip":"194.43.55.202","address":{"address":"1837 Maple Street","city":"Indianapolis","state":"Delaware","stateCode":"DE","postalCode":"81783","coordinates":{"lat":35.498256,"lng":154.088476},"country":"United States"},"macAddress":"fa:c3:1b:21:5f:44","university":"University of Illinois--Urbana-Champaign","bank":{"cardExpire":"11/29","cardNumber":"3625097026040498","cardType":"Diners Club International","currency":"EUR","iban":"DE08820336197191865470"},"company":{"department":"Services","name":"Gerlach, Funk and Schoen","title":"Sales Manager","address":{"address":"1651 Lincoln Street","city":"San Francisco","state":"West Virginia","stateCode":"WV","postalCode":"61805","coordinates":{"lat":-59.936335,"lng":-12.405368},"country":"United States"}},"ein":"118-957","ssn":"925-686-100","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":30,"firstName":"Addison","lastName":"Wright","maidenName":"","age":33,"gender":"female","email":"addison.wright@x.dummyjson.com","phone":"+1 514-384-3300","username":"addisonw","password":"addisonwpass","birthDate":"1992-1-3","image":"https://dummyjson.com/icon/addisonw/128","bloodGroup":"B+","height":179.32,"weight":76.93,"eyeColor":"Brown","hair":{"color":"Blonde","type":"Straight"},"ip":"11.35.69.81","address":{"address":"568 Tenth Street","city":"San Francisco","state":"Montana","stateCode":"MT","postalCode":"54698","coordinates":{"lat":20.946052,"lng":100.228822},"country":"United States"},"macAddress":"fb:0:94:21:16:c","university":"Syracuse University","bank":{"cardExpire":"06/28","cardNumber":"5274971895809762","cardType":"Mastercard","currency":"PKR","iban":"DE91480955939051635497"},"company":{"department":"Services","name":"Kreiger Inc","title":"Human Resources Manager","address":{"address":"1173 Eighth Street","city":"San Diego","state":"Michigan","stateCode":"MI","postalCode":"85777","coordinates":{"lat":65.324413,"lng":87.142893},"country":"United States"}},"ein":"415-286","ssn":"804-492-390","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"}],"total":208,"skip":0,"limit":30}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000 ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body contains users array | 1 | 0 | 0 |
| users array is not empty | 1 | 0 | 0 |
| each user has required fields | 1 | 0 | 0 |
| each user has required fields with correct data types | 1 | 0 | 0 |
| response body contains pagination fields | 1 | 0 | 0 |
| users count does not exceed limit | 1 | 0 | 0 |
| Total | 9 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get User-By ID
## Overview
This request retrieves detailed information about a specific user from the DummyJSON API by their unique user ID.
## Purpose
This endpoint exists to fetch individual user profile data when you need to access or display information about a specific user. It solves the problem of retrieving complete user details without having to fetch all users and filter through them.
## Expected Behaviour
When executed successfully, this request will:
- Return a single user object matching the provided user ID
- Respond with HTTP status code 200
- Complete within 2000 milliseconds
- Return data in JSON format
## Request Details
**Method:** `GET`
**URL:** `https://dummyjson.com/users/6`
**Headers:** None specified
**Body:** No request body (GET request)
## Variables Used
- **`baseUrl`** - The base URL for the DummyJSON API endpoint
- **`user_id`** - The unique identifier of the user to retrieve
## Response Details
The response returns a user object with the following structure:
```json
{
"id": number,
"firstName": string,
"lastName": string,
"email": string,
"username": string
}
```
**Required Fields:**
- `id` (number) - Unique user identifier
- `firstName` (string) - User's first name
- `lastName` (string) - User's last name
- `email` (string) - User's email address
- `username` (string) - User's username
## Test Validations
This request includes the following automated test assertions:
1. **Status Code Validation** - Verifies the response status code is 200 (OK)
2. **Performance Check** - Ensures the response time is less than 2000ms
3. **Content-Type Validation** - Confirms the response Content-Type header is `application/json`
4. **Response Structure** - Validates that the response body is a JSON object
5. **Required Fields Presence** - Checks that all required fields (id, firstName, lastName, email, username) are present in the response
6. **Data Type Validation** - Verifies correct data types for all required fields:
- `id` must be a number
- `firstName` must be a string
- `lastName` must be a string
- `email` must be a string
- `username` must be a string
7. **ID Match Validation** - Confirms that the returned user ID matches the requested user ID from the environment variable
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c06336d3-c833-48a2-ba57-c96f796f65a7 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:57 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 98 |
| x-ratelimit-reset | 1769721607 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"58c-f3JuK/tymf0Ng/VMSstXj5q9u+M" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=DgTxLC7MsHL6aDKKAZgfVYX49f1P4w9HZbvoAQg%2FatuweO%2FCPGTq5QdgM4EC5Wd%2BcZjNSLHCq6IR%2BMKshq3HDI2J2WelUnrNGDRQXOwwPq0%2Bdn25jjQy38c%3D"}]} |
| CF-RAY | 9c5bc5522d640c5b-AMM |
{"id":6,"firstName":"Olivia","lastName":"Wilson","maidenName":"","age":23,"gender":"female","email":"olivia.wilson@x.dummyjson.com","phone":"+91 607-295-6448","username":"oliviaw","password":"oliviawpass","birthDate":"2002-4-20","image":"https://dummyjson.com/icon/oliviaw/128","bloodGroup":"B+","height":182.61,"weight":58,"eyeColor":"Hazel","hair":{"color":"Gray","type":"Curly"},"ip":"249.178.112.207","address":{"address":"547 First Street","city":"Fort Worth","state":"Tennessee","stateCode":"TN","postalCode":"83843","coordinates":{"lat":75.32627,"lng":-26.15285},"country":"United States"},"macAddress":"9c:7f:ea:34:18:19","university":"University of North Carolina--Chapel Hill","bank":{"cardExpire":"06/30","cardNumber":"376320072452632","cardType":"American Express","currency":"NZD","iban":"DE21153814367894194071"},"company":{"department":"Product Management","name":"Pfannerstill Inc","title":"Research Analyst","address":{"address":"425 Sixth Street","city":"Indianapolis","state":"Oklahoma","stateCode":"OK","postalCode":"74263","coordinates":{"lat":74.986644,"lng":-132.916888},"country":"United States"}},"ein":"921-709","ssn":"836-772-168","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body contains required fields | 1 | 0 | 0 |
| required fields have correct data types | 1 | 0 | 0 |
| returned user id matches requested user id | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Search User-By Query
## Overview
This request searches for users in the system based on a query parameter. It allows you to find users by matching the search term against user attributes like first name, last name, or username.
## Purpose
This endpoint exists to enable user search functionality within the application. It solves the problem of quickly locating specific users from a potentially large user database by providing a flexible search mechanism. This is essential for features like user lookup, admin panels, or any interface requiring user selection or filtering.
## Expected Behaviour
When executed with a valid search query, the request should:
- Return a 200 OK status code
- Respond within 2000 milliseconds
- Return a JSON response containing a `users` array
- Include at least one user object in the array if matches are found
- Each user object should contain complete user information matching the search criteria
## Request Details
**Method:** `GET`
**URL:** `https://dummyjson.com/users/search?q=Emily`
**Query Parameters:**
- `q` - The search query string used to find matching users
**Headers:** Standard headers for GET requests
**Body:** No request body (GET request)
## Variables Used
- **baseUrl** - The base URL of the API endpoint (e.g., https://dummyjson.com)
- **user_query** - The search term used to query users (e.g., a name or username fragment)
## Response Details
**Expected Response Structure:**
```json
{
"users": [
{
"id": number,
"firstName": string,
"lastName": string,
"email": string,
"username": string,
// ... additional user fields
}
]
}
```
**Response Fields:**
- `users` - Array containing user objects that match the search query
- `id` - Unique numeric identifier for the user
- `firstName` - User's first name (string)
- `lastName` - User's last name (string)
- `email` - User's email address (string)
- `username` - User's username (string)
The search query is matched against user attributes, and all matching users are returned in the response array.
## Test Validations
This request includes comprehensive automated test validations:
1. **Status Code Validation** - Verifies the response status code is 200 (OK)
2. **Performance Validation** - Ensures the response time is less than 2000 milliseconds
3. **Content-Type Validation** - Confirms the response Content-Type header is `application/json`
4. **Response Structure Validation** - Checks that the response body contains a `users` property that is an array
5. **Non-Empty Results Validation** - Verifies that the search returns at least one user (users array is not empty for valid searches)
6. **Required Fields Validation** - Ensures each user object in the response contains all required fields: `id`, `firstName`, `lastName`, `email`, and `username`
7. **Data Type Validation** - Validates that each required field has the correct data type:
- `id` must be a number
- `firstName` must be a string
- `lastName` must be a string
- `email` must be a string
- `username` must be a string
8. **Search Query Reflection Validation** - Confirms that the search query is reflected in the response by checking if the query term appears in the user's firstName or lastName (case-insensitive matching)
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f2277198-f510-445f-8c65-a26e7fc63b5c |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:58 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 96 |
| x-ratelimit-reset | 1769721603 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"b33-ZT0uf5XOK4s2qOhUtFgDIwmO9nw" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=uQCPXY%2F8yrRbS3qCoJtFyHSdIV%2BBIsNMLJn4OZx3%2B4BjLG3jYkx4%2Fr9oBsHMvZNHQeAHPW%2BZuFUsoBZN4IU0GWRPl5BzElBxA9EGO7PjQA1%2F%2FGtrc7lxcV0%3D"}]} |
| CF-RAY | 9c5bc553a9810c5b-AMM |
{"users":[{"id":1,"firstName":"Emily","lastName":"Johnson","maidenName":"Smith","age":29,"gender":"female","email":"emily.johnson@x.dummyjson.com","phone":"+81 965-431-3024","username":"emilys","password":"emilyspass","birthDate":"1996-5-30","image":"https://dummyjson.com/icon/emilys/128","bloodGroup":"O-","height":193.24,"weight":63.16,"eyeColor":"Green","hair":{"color":"Brown","type":"Curly"},"ip":"42.48.100.32","address":{"address":"626 Main Street","city":"Phoenix","state":"Mississippi","stateCode":"MS","postalCode":"29112","coordinates":{"lat":-77.16213,"lng":-92.084824},"country":"United States"},"macAddress":"47:fa:41:18:ec:eb","university":"University of Wisconsin--Madison","bank":{"cardExpire":"05/28","cardNumber":"3693233511855044","cardType":"Diners Club International","currency":"GBP","iban":"GB74MH2UZLR9TRPHYNU8F8"},"company":{"department":"Engineering","name":"Dooley, Kozey and Cronin","title":"Sales Manager","address":{"address":"263 Tenth Street","city":"San Francisco","state":"Wisconsin","stateCode":"WI","postalCode":"37657","coordinates":{"lat":71.814525,"lng":-161.150263},"country":"United States"}},"ein":"977-175","ssn":"900-590-289","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"},{"id":103,"firstName":"Emily","lastName":"Brown","maidenName":"Taylor","age":43,"gender":"female","email":"emily.brown@x.dummyjson.com","phone":"+61 875-999-8871","username":"emilyt","password":"emilytpass","birthDate":"1982-12-5","image":"https://dummyjson.com/icon/emilyt/128","bloodGroup":"AB-","height":181.96,"weight":89.65,"eyeColor":"Blue","hair":{"color":"Brown","type":"Kinky"},"ip":"41.156.197.109","address":{"address":"1962 Fourth Street","city":"Houston","state":"Hawaii","stateCode":"HI","postalCode":"67104","coordinates":{"lat":-64.336051,"lng":135.876737},"country":"United States"},"macAddress":"3b:9b:ee:cf:1f:de","university":"Georgetown University","bank":{"cardExpire":"09/30","cardNumber":"374970244492890","cardType":"American Express","currency":"INR","iban":"DE06646067555223276327"},"company":{"department":"Research and Development","name":"Pfannerstill Inc","title":"Data Analyst","address":{"address":"1998 Main Street","city":"Indianapolis","state":"Arizona","stateCode":"AZ","postalCode":"57190","coordinates":{"lat":-83.995771,"lng":127.669213},"country":"United States"}},"ein":"844-425","ssn":"119-906-830","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"}],"total":2,"skip":0,"limit":2}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000 ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body contains users array | 1 | 0 | 0 |
| search return at least one product | 1 | 0 | 0 |
| each user has required fields | 1 | 0 | 0 |
| required fields have correct data types | 1 | 0 | 0 |
| search query is reflected in the response | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Add New User
## Overview
This request creates a new user in the system by submitting user information to the API endpoint.
## Purpose
This endpoint exists to allow the creation of new user records in the database. It solves the problem of programmatically adding users to the system with their basic information including first name, last name, and age.
## Expected Behaviour
When executed with valid user data, this request will:
- Submit the user information to the server
- Generate a unique ID for the new user
- Return the complete user object including the generated ID and all submitted fields
- Complete the operation within 2 seconds
- Return a 201 Created status code indicating successful user creation
## Request Details
**Method:** `POST`
**URL:** `https://dummyjson.com/users/add`
**Headers:**
- Content-Type: application/json
**Request Body Structure:**
```json
{
"firstName": "Rio",
"lastName": "Brown",
"age": 23
}
```
The request body accepts a JSON object with the following fields:
- `firstName` (string): The user's first name
- `lastName` (string): The user's last name
- `age` (number): The user's age
## Variables Used
- **baseUrl**: The base URL for the API endpoint. This variable should be configured in the active environment to point to the appropriate API server.
## Response Details
**Expected Status Code:** `201 Created`
**Response Structure:**
The API returns a JSON object containing the newly created user with all submitted fields plus a generated ID:
```json
{
"id": 1,
"firstName": "Rio",
"lastName": "Brown",
"age": 23
}
```
**Response Fields:**
- `id` (number): Auto-generated unique identifier for the user
- `firstName` (string): The user's first name (as submitted)
- `lastName` (string): The user's last name (as submitted)
- `age` (number): The user's age (as submitted)
**Response Headers:**
- Content-Type: application/json
## Test Validations
This request includes comprehensive automated test validations in the post-response script:
1. **Status Code Validation**: Verifies that the response status code is 201 (Created)
2. **Performance Validation**: Ensures the response time is less than 2000ms (2 seconds)
3. **Content-Type Validation**: Confirms the response Content-Type header includes "application/json"
4. **Response Structure Validation**: Checks that the response body is a valid JSON object
5. **ID Field Validation**: Verifies that the response body contains an "id" property and that it is of number data type
6. **Request Body Keys Validation**: Ensures all keys from the request body (firstName, lastName, age) are present in the returned user object
7. **Request Body Values Validation**: Confirms that all values from the request body match exactly with the corresponding values in the returned user object
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 7e8fcbf6-8c17-4a08-af0c-4e02a0f181ed |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 67 |
{
"firstName":"Rio",
"lastName":"Brown",
"age":23
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:58 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 765 |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 97 |
| x-ratelimit-reset | 1769721607 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"2fd-nFcmD7kMdMOb/8rPqNwVqPg5Fk4" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=PjH3rZV5iuGYF%2FellTYVmMCbgpX%2BbGWmzXgpkAD2mhcSBJmTlx979qn5acLIU59WxnM18j1HpvIn5bw906aT4Z5PizE5NhTfHudhr0DLpcYfA%2F%2BMXdLfmgE%3D"}]} |
| CF-RAY | 9c5bc5553dbc0c5b-AMM |
{"id":209,"firstName":"Rio","lastName":"Brown","maidenName":"","age":23,"gender":"","email":"","phone":"","username":"","password":"","birthDate":"","image":"","bloodGroup":"","height":null,"weight":null,"eyeColor":"","hair":{"color":"","type":""},"ip":"","address":{"address":"","city":"","state":"","stateCode":"","postalCode":"","coordinates":{"lat":null,"lng":null},"country":""},"macAddress":"","university":"","bank":{"cardExpire":"","cardNumber":"","cardType":"","currency":"","iban":""},"company":{"department":"","name":"","title":"","address":{"address":"","city":"","state":"","stateCode":"","postalCode":"","coordinates":{"lat":null,"lng":null},"country":""}},"ein":"","ssn":"","userAgent":"","crypto":{"coin":"","wallet":"","network":""},"role":"user"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 201 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-Type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body has id key and is number data type | 1 | 0 | 0 |
| returned user contains all request body keys | 1 | 0 | 0 |
| returned user contains all request body values | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Update User
## Overview
This request updates an existing user's information in the system by sending a PATCH request with the modified fields.
## Purpose
This endpoint allows you to modify specific attributes of an existing user without affecting other user data. It's designed for partial updates, making it efficient when you only need to change certain fields like name or age rather than replacing the entire user object.
## Expected Behaviour
When executed successfully, this request will:
- Update only the specified fields (lastName and age) for the user identified by `user_id`
- Return the complete updated user object with all modified fields reflected
- Maintain all other user properties that were not included in the request body
- Respond with a 200 status code indicating successful update
## Request Details
**Method:** `PATCH`
**URL:** `https://dummyjson.com/users/6`
**Headers:**
- Content-Type: application/json
**Request Body Structure:**
```json
{
"lastName": "Ellie",
"age": 30
}
```
The request body accepts a JSON object containing the fields you want to update. In this example:
- `lastName` (string): The user's last name to be updated
- `age` (integer): The user's age to be updated
You can include any valid user fields that need modification.
## Variables Used
This request uses the following variables:
- **`baseUrl`**: The base URL of the API endpoint (e.g., https://dummyjson.com)
- **`user_id`**: The unique identifier of the user to be updated
These variables should be defined in your environment or collection variables.
## Response Details
**Expected Status Code:** `200 OK`
**Response Structure:**
The API returns a complete user object with all the updated fields reflected:
```json
{
"id": 1,
"firstName": "John",
"lastName": "Ellie",
"age": 30,
"email": "user@example.com",
// ... other user properties
}
```
The response will include:
- All fields that were updated (matching the request body values)
- All other user properties that remained unchanged
- Content-Type header set to `application/json`
## Test Validations
This request includes 5 automated test assertions that validate the response:
1. **Status Code Validation**
- Verifies that the response status code is 200
- Ensures the update operation was successful
2. **Response Time Check**
- Confirms the response time is less than 2000ms
- Ensures the API performs within acceptable time limits
3. **Content-Type Validation**
- Checks that the response Content-Type header is `application/json`
- Ensures the response format is correct
4. **Response Body Type Check**
- Validates that the response body is a JSON object
- Ensures proper data structure is returned
5. **Field Update Verification**
- Dynamically validates that all fields sent in the request body are correctly updated in the response
- Compares each key-value pair from the request body with the corresponding values in the response
- Ensures data integrity and confirms the update was applied correctly
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 04b23c91-adcc-40a5-a119-5917a6eaf428 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 43 |
{
"lastName":"Ellie",
"age":30
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:58 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 96 |
| x-ratelimit-reset | 1769721607 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"58b-VdgOZJsb+olYSZCa4N0eopc5NYM" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=yfTGa%2FNldQU9wtGiAGJw4cwGEUSgRwSh3DsAorv7WkbLWuvO74GoDZLXHaI%2BcKhamnJNBEGljFwDz%2Bm1Dbc0Rp944lkf7Qy67l4FmBH6tc2PrkKG12C8yX4%3D"}]} |
| CF-RAY | 9c5bc55699dd0c5b-AMM |
{"id":6,"firstName":"Olivia","lastName":"Ellie","maidenName":"","age":30,"gender":"female","email":"olivia.wilson@x.dummyjson.com","phone":"+91 607-295-6448","username":"oliviaw","password":"oliviawpass","birthDate":"2002-4-20","image":"https://dummyjson.com/icon/oliviaw/128","bloodGroup":"B+","height":182.61,"weight":58,"eyeColor":"Hazel","hair":{"color":"Gray","type":"Curly"},"ip":"249.178.112.207","address":{"address":"547 First Street","city":"Fort Worth","state":"Tennessee","stateCode":"TN","postalCode":"83843","coordinates":{"lat":75.32627,"lng":-26.15285},"country":"United States"},"macAddress":"9c:7f:ea:34:18:19","university":"University of North Carolina--Chapel Hill","bank":{"cardExpire":"06/30","cardNumber":"376320072452632","cardType":"American Express","currency":"NZD","iban":"DE21153814367894194071"},"company":{"department":"Product Management","name":"Pfannerstill Inc","title":"Research Analyst","address":{"address":"425 Sixth Street","city":"Indianapolis","state":"Oklahoma","stateCode":"OK","postalCode":"74263","coordinates":{"lat":74.986644,"lng":-132.916888},"country":"United States"}},"ein":"921-709","ssn":"836-772-168","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| edited fields are updated | 1 | 0 | 0 |
| Total | 5 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Delete User
## Overview
This request deletes a user from the system by sending a DELETE request to the users endpoint with a specific user ID.
## Purpose
This endpoint exists to permanently remove user accounts from the system. It solves the need for user account management, allowing administrators or authorized users to delete user records when they are no longer needed, when users request account deletion, or for data cleanup purposes.
## Expected Behaviour
When this request is executed successfully:
- The system locates the user by the provided `user_id`
- The user account is marked as deleted in the database
- A confirmation response is returned with deletion status and timestamp
- The response includes a boolean flag confirming deletion and the exact time of deletion
- All validations pass confirming the deletion was successful
## Request Details
**Method:** `DELETE`
**URL:** `https://dummyjson.com/users/6`
**Headers:** Standard headers are applied automatically
**Request Body:** This request does not require a request body
## Variables Used
| Variable | Description |
|----------|-------------|
| `baseUrl` | The base URL of the API endpoint |
| `user_id` | The unique identifier of the user to be deleted |
## Response Details
The API returns a JSON object with the following structure:
**Response Fields:**
| Field | Type | Description |
|-------|------|-------------|
| `isDeleted` | boolean | Indicates whether the user was successfully deleted (should be `true`) |
| `deletedOn` | string | Timestamp indicating when the user was deleted |
**Example Response:**
```json
{
"isDeleted": true,
"deletedOn": "2024-01-15T10:30:00.000Z"
}
```
## Test Validations
This request includes 7 automated test assertions to validate the response:
1. **Status Code Validation** - Verifies that the response status code is 200 (OK)
2. **Response Time Check** - Ensures the response time is less than 2000ms for performance monitoring
3. **Content-Type Validation** - Confirms the response Content-Type header is `application/json`
4. **Response Structure Check** - Validates that the response body is a valid JSON object
5. **isDeleted Property Validation** - Verifies that the response contains an `isDeleted` property with boolean data type
6. **deletedOn Property Validation** - Verifies that the response contains a `deletedOn` property with string data type
7. **Deletion Confirmation** - Confirms that the `isDeleted` field is `true`, indicating successful user deletion
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c0d17039-1e8f-4796-bd94-7e2d5bc22c9f |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:58 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 97 |
| x-ratelimit-reset | 1769721607 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"5c4-37CTzF29Z3tMXnp6BVlfKIRs2s4" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=PSrUygNy4oJ4L6JgwLKKigNwUeG1%2BmLPrsnDOTMikHYXexcrd%2FzAPOMl5tHlhH5TQnzStXQArpUMzqm61g6P3CzhoTC%2FCUfVD6K8Uzr%2FjAhyr1EKpp8b9Ss%3D"}]} |
| CF-RAY | 9c5bc5583e220c5b-AMM |
{"id":6,"firstName":"Olivia","lastName":"Wilson","maidenName":"","age":23,"gender":"female","email":"olivia.wilson@x.dummyjson.com","phone":"+91 607-295-6448","username":"oliviaw","password":"oliviawpass","birthDate":"2002-4-20","image":"https://dummyjson.com/icon/oliviaw/128","bloodGroup":"B+","height":182.61,"weight":58,"eyeColor":"Hazel","hair":{"color":"Gray","type":"Curly"},"ip":"249.178.112.207","address":{"address":"547 First Street","city":"Fort Worth","state":"Tennessee","stateCode":"TN","postalCode":"83843","coordinates":{"lat":75.32627,"lng":-26.15285},"country":"United States"},"macAddress":"9c:7f:ea:34:18:19","university":"University of North Carolina--Chapel Hill","bank":{"cardExpire":"06/30","cardNumber":"376320072452632","cardType":"American Express","currency":"NZD","iban":"DE21153814367894194071"},"company":{"department":"Product Management","name":"Pfannerstill Inc","title":"Research Analyst","address":{"address":"425 Sixth Street","city":"Indianapolis","state":"Oklahoma","stateCode":"OK","postalCode":"74263","coordinates":{"lat":74.986644,"lng":-132.916888},"country":"United States"}},"ein":"921-709","ssn":"836-772-168","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator","isDeleted":true,"deletedOn":"2026-01-29T21:19:58.821Z"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body has is deleted property with correct data type | 1 | 0 | 0 |
| response body has deleted on property with correct data type | 1 | 0 | 0 |
| user is deleted | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Get User with Invalid ID
## Overview
This is a negative test case designed to verify the API's error handling when attempting to retrieve a user with an invalid user ID. The request tests how the system responds to malformed or non-existent user identifiers.
## Purpose
This request exists to validate that the API properly handles error scenarios and returns appropriate error responses when invalid data is provided. It ensures that:
- The API returns the correct HTTP status code for invalid requests
- Error messages are properly formatted and informative
- The system gracefully handles edge cases without crashing
## Expected Behaviour
When this request is executed with an invalid user ID, the API should:
- Return a **404 Not Found** status code
- Provide a JSON response containing an error message
- Include a descriptive message indicating that the user was not found
- Handle the error gracefully without exposing sensitive system information
## Request Details
- **Method**: `GET`
- **URL**: `https://dummyjson.com/users/99999999`
- **Headers**: Standard headers (if any are set at collection/folder level)
- **Request Body**: None (GET requests do not have a request body)
## Variables Used
This request uses the following variables:
- **`baseUrl`**: The base URL of the API endpoint (e.g., `https://dummyjson.com`)
- **`invalid_id`**: An invalid user ID value used to trigger the error response (e.g., a non-existent ID, malformed string, or negative number)
## Response Details
The expected error response structure when an invalid user ID is provided:
**Status Code**: `404 Not Found`
**Response Body** (JSON):
```json
{
"message": "User not found"
}
```
The response should contain:
- A `message` field with a descriptive error message
- The message text should include "not found" (case-insensitive)
## Test Validations
This request includes three automated test assertions in the post-response script:
1. **Status Code Validation**: Verifies that the response status code is `404`
- Ensures the API returns the correct HTTP status for invalid user IDs
2. **Error Message Property Check**: Confirms that the response body contains a `message` property
- Validates that the error response follows the expected structure
3. **Error Message Content Validation**: Checks that the error message includes "not found" text
- Ensures the error message is descriptive and indicates the user was not found
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 03762d71-99ff-45cd-869c-cc0c25f1141c |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:59 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 95 |
| x-ratelimit-reset | 1769721603 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"2f-toGsrVi0XdPkGLD1S0/ZZF22Ihs" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=Gw0a0Be5TQLOciFEtTrTvDshDQ1jAjoANTUYNIyRSdTpo226deyp0FzIvLB49AAx3Vw180m9CHUceRuLUTIgVPvmIssbV999iXwf0Q%2FrGyS3NEeIAXpuvTw%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc559ba390c5b-AMM |
{"message":"User with id '99999999' not found"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| response body contains error message | 1 | 0 | 0 |
| response body contains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Login-Valid Credentials
# Overview
This endpoint authenticates a user and returns access and refresh tokens for subsequent API requests.
# Purpose
To authenticate users with valid credentials and obtain JWT tokens (access token and refresh token) required for accessing protected endpoints in the DummyJSON API.
# Expected Behavior
- Accepts user credentials (username and password)
- Validates the credentials against the authentication system
- Returns authentication tokens and user information upon successful login
- Stores tokens in environment variables for use in subsequent requests
# Request Details
- **Method**: POST
- **Endpoint**: `https://dummyjson.com/auth/login`
- **Content-Type**: application/json
- **Body**:
``` json
{
"username": "emilys",
"password": "emilyspass"
}
```
# Variables Used
- **baseUrl**: The base URL for the API endpoint
- **logged_in_username**: Set in pre-request script from the request body username field
# Response Details
The successful response returns a JSON object containing:
- **accessToken**: JWT token for authenticating API requests
- **refreshToken**: Token used to refresh the access token when it expires
- **id**: Unique identifier for the authenticated user
- **username**: Username of the authenticated user
- Additional user profile information
# Test Validations
The post-response script performs the following validations:
- Status code is 200
- Response time is less than 2000ms
- Content-Type header is application/json
- Response body is a valid JSON object
- Response contains `accessToken` and `refreshToken` properties
- Both tokens are not empty
- Response contains user `id` property
- User ID is a number
- Returned username matches the logged-in username
**Environment Variables Set**:
- `access_token`: Stored for authorization in subsequent requests
- `refresh_token`: Stored for token refresh operations
- `logged_in_username`: Stored for validation purposes
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | de145544-9790-4a3d-ab61-6c03a5515b44 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 61 |
{
"username": "emilys",
"password": "emilyspass"
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:59 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 95 |
| x-ratelimit-reset | 1769721607 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| Set-Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTksImV4cCI6MTc2OTcyNTE5OX0.AXJZ-9cCo74zAmk8gV48AJVxWk88DFJsP_VLoP6Kh6k; Max-Age=3600; Path=/; Expires=Thu, 29 Jan 2026 22:19:59 GMT; HttpOnly; Secure |
| Set-Cookie | refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTksImV4cCI6MTc3MjMxMzU5OX0.7XqmWTc134q4mHvui881zvntR8zvKP9HcuiUSaAAUAY; Max-Age=3600; Path=/; Expires=Thu, 29 Jan 2026 22:19:59 GMT; HttpOnly; Secure |
| etag | W/"3a2-vWo6fJ5llZQnjSto7SS6XJT5lOU" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=RnUPmtmnnVIExLh0yy0Cw7KHnnkf5HlKdOpcB0cbgYjgGrIGf01d%2FCJxXOLpONQwnJriwkpzaGjEyYIcIOVixb2ucj27NoTiYV%2B3lXzLI2p8xWtvgYmcZC0%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc55b3e070c5b-AMM |
{"accessToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTksImV4cCI6MTc2OTcyNTE5OX0.AXJZ-9cCo74zAmk8gV48AJVxWk88DFJsP_VLoP6Kh6k","refreshToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTksImV4cCI6MTc3MjMxMzU5OX0.7XqmWTc134q4mHvui881zvntR8zvKP9HcuiUSaAAUAY","id":1,"username":"emilys","email":"emily.johnson@x.dummyjson.com","firstName":"Emily","lastName":"Johnson","gender":"female","image":"https://dummyjson.com/icon/emilys/128"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000 ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| Response body is json object | 1 | 0 | 0 |
| Response body contains access token | 1 | 0 | 0 |
| Response body contains refresh token | 1 | 0 | 0 |
| access token is not empty | 1 | 0 | 0 |
| refresh token is not empty | 1 | 0 | 0 |
| response body contains user id | 1 | 0 | 0 |
| user id is a number | 1 | 0 | 0 |
| returned user matches logged in user | 1 | 0 | 0 |
| Total | 11 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Current User
## Overview
This endpoint retrieves information about the currently authenticated user.
## Purpose
To fetch the profile details of the logged-in user, including their unique identifier, username, and email address.
## Expected Behavior
When called with valid authentication, this endpoint returns the current user's profile data in JSON format with a 200 status code.
## Request Details
- **Method**: GET
- **Endpoint**: `https://dummyjson.com/auth/me`
- **Authentication**: Required (uses `access_token`)
- **Request Body**: None
## Variables Used
- `baseUrl` - The base URL for the API
- `access_token` - Authentication token for the current user
- `logged_in_username` - Used in test validation to verify the returned user
## Response Details
The response returns a JSON object containing:
- `id` (number) - Unique identifier for the user
- `username` (string) - Username of the authenticated user
- `email` (string) - Email address in valid format
## Test Validations
The following automated tests are executed on the response:
- Status code is 200
- Response time is less than 2000ms
- Content-Type header is application/json
- Response body is a valid JSON object
- Response contains required fields: id, username, and email
- User id is a number and username is a string
- Email follows valid email format (pattern: `^\S+@\S+\.\S+$`)
- Returned username matches the logged-in user's username
| Header Name | Header Value |
|---|---|
| Authorization | Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTksImV4cCI6MTc2OTcyNTE5OX0.AXJZ-9cCo74zAmk8gV48AJVxWk88DFJsP_VLoP6Kh6k |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 172bb5b6-2204-4368-a87b-beb8868b8a11 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTksImV4cCI6MTc2OTcyNTE5OX0.AXJZ-9cCo74zAmk8gV48AJVxWk88DFJsP_VLoP6Kh6k; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTksImV4cCI6MTc3MjMxMzU5OX0.7XqmWTc134q4mHvui881zvntR8zvKP9HcuiUSaAAUAY |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:59 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 92 |
| x-ratelimit-reset | 1769721601 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"58f-CoL/KoXlW3x1PtqQr3wqPsXj6DE" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=iO30JldZfDUpCQW3xiKvZek4Te9DLnSxjZdfCCzaoMsvzL07sAuPKVu7JIHCxD0p9Vo%2FDOlKovodxN6Fr1DvRCdM3Tq28YsFJesbQbWuDeyUUswHtuXM79c%3D"}]} |
| CF-RAY | 9c5bc55d1a940c5b-AMM |
{"id":1,"firstName":"Emily","lastName":"Johnson","maidenName":"Smith","age":29,"gender":"female","email":"emily.johnson@x.dummyjson.com","phone":"+81 965-431-3024","username":"emilys","password":"emilyspass","birthDate":"1996-5-30","image":"https://dummyjson.com/icon/emilys/128","bloodGroup":"O-","height":193.24,"weight":63.16,"eyeColor":"Green","hair":{"color":"Brown","type":"Curly"},"ip":"42.48.100.32","address":{"address":"626 Main Street","city":"Phoenix","state":"Mississippi","stateCode":"MS","postalCode":"29112","coordinates":{"lat":-77.16213,"lng":-92.084824},"country":"United States"},"macAddress":"47:fa:41:18:ec:eb","university":"University of Wisconsin--Madison","bank":{"cardExpire":"05/28","cardNumber":"3693233511855044","cardType":"Diners Club International","currency":"GBP","iban":"GB74MH2UZLR9TRPHYNU8F8"},"company":{"department":"Engineering","name":"Dooley, Kozey and Cronin","title":"Sales Manager","address":{"address":"263 Tenth Street","city":"San Francisco","state":"Wisconsin","stateCode":"WI","postalCode":"37657","coordinates":{"lat":71.814525,"lng":-161.150263},"country":"United States"}},"ein":"977-175","ssn":"900-590-289","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body contains user id, username and user email | 1 | 0 | 0 |
| user id is a number and username is a string | 1 | 0 | 0 |
| user email is a valid email | 1 | 0 | 0 |
| returned user matches logged in user | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Refresh Authentication Token
### Overview
This endpoint refreshes the authentication tokens by validating the provided refresh token and issuing new access and refresh tokens.
### Purpose
To obtain new authentication tokens when the current access token expires, ensuring continuous authenticated access to the API without requiring the user to log in again.
### Expected Behavior
The endpoint validates the refresh token and returns a new pair of tokens (access token and refresh token) that can be used for subsequent authenticated requests.
### Request Details
- **Method:** POST
- **Endpoint:** `https://dummyjson.com/auth/refresh`
- **Body Type:** JSON (raw)
- **Request Body:**
``` json
{
"refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTksImV4cCI6MTc3MjMxMzU5OX0.7XqmWTc134q4mHvui881zvntR8zvKP9HcuiUSaAAUAY"
}
```
### Variables Used
- `baseUrl` - The base URL for the API
- `refresh_token` - The current refresh token stored in the environment
### Response Details
The successful response returns a JSON object containing:
- `accessToken` - A new access token for authenticating API requests
- `refreshToken` - A new refresh token for future token refresh operations
**Example Response:**
``` json
{
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
```
### Test Validations
The post-response script validates the following:
- ✓ Status code is 200
- ✓ Response time is less than 2000ms
- ✓ Content-Type header is application/json
- ✓ Response body is a valid JSON object
- ✓ Response contains `accessToken` property
- ✓ Response contains `refreshToken` property
- ✓ Access token is not empty
- ✓ Refresh token is not empty
- ✓ New tokens are automatically saved to environment variables (`access_token` and `refresh_token`)
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 07a50b7f-ff1e-4ed6-81ed-36bbc4e6afdb |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 388 |
| Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTksImV4cCI6MTc2OTcyNTE5OX0.AXJZ-9cCo74zAmk8gV48AJVxWk88DFJsP_VLoP6Kh6k; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTksImV4cCI6MTc3MjMxMzU5OX0.7XqmWTc134q4mHvui881zvntR8zvKP9HcuiUSaAAUAY |
{
"refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTksImV4cCI6MTc3MjMxMzU5OX0.7XqmWTc134q4mHvui881zvntR8zvKP9HcuiUSaAAUAY"
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:19:59 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 94 |
| x-ratelimit-reset | 1769721603 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| Set-Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTksImV4cCI6MTc2OTcyNTE5OX0.AXJZ-9cCo74zAmk8gV48AJVxWk88DFJsP_VLoP6Kh6k; Max-Age=3600; Path=/; Expires=Thu, 29 Jan 2026 22:19:59 GMT; HttpOnly; Secure |
| Set-Cookie | refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTksImV4cCI6MTc3MjMxMzU5OX0.7XqmWTc134q4mHvui881zvntR8zvKP9HcuiUSaAAUAY; Max-Age=3600; Path=/; Expires=Thu, 29 Jan 2026 22:19:59 GMT; HttpOnly; Secure |
| etag | W/"2f4-N0rJHnmOlToNVOb42Sh/p8XPFNQ" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=AC5ea%2BZ11qjXxGF8lsdYL56AbU80q%2BUdqnlyiuhwEA%2FIXpAm10tZHR44Da7bx%2F728Uw5WBaGTsGynB5u9YtrSOXv2Q91arbOeaNJNvAh%2FjLPWK0Y7w6JUEM%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc55e9ec30c5b-AMM |
{"accessToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTksImV4cCI6MTc2OTcyNTE5OX0.AXJZ-9cCo74zAmk8gV48AJVxWk88DFJsP_VLoP6Kh6k","refreshToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTksImV4cCI6MTc3MjMxMzU5OX0.7XqmWTc134q4mHvui881zvntR8zvKP9HcuiUSaAAUAY"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body contains access token | 1 | 0 | 0 |
| response body contains refresh token | 1 | 0 | 0 |
| access token is not empty | 1 | 0 | 0 |
| refresh token is not empty | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Current User-After Refresh
## Overview
This endpoint retrieves the currently authenticated user's profile information using a valid access token. It returns comprehensive user details including personal information, contact details, and account metadata.
## Purpose
This endpoint is used to verify the user's authentication status and retrieve their profile data after a token refresh operation. It plays a critical role in the authentication flow by:
- Confirming that the refreshed access token is valid
- Retrieving the authenticated user's complete profile
- Validating that the correct user session is maintained after token refresh
## Expected Behavior
When executed successfully, this request will:
1. Authenticate the user using the Bearer token in the Authorization header
2. Return a 200 OK status code
3. Provide a JSON response containing the authenticated user's complete profile information
4. Complete within 2000ms response time
5. Return user data that matches the logged-in user's credentials
## Request Details
- **HTTP Method**: `GET`
- **Endpoint**: `https://dummyjson.com/auth/me`
- **Authentication**: Bearer Token (uses `access_token` variable)
- **Headers**:
- `Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTksImV4cCI6MTc2OTcyNTE5OX0.AXJZ-9cCo74zAmk8gV48AJVxWk88DFJsP_VLoP6Kh6k`
## Variables Used
| Variable | Description |
|----------|-------------|
| `baseUrl` | The base URL for the API endpoint |
| `access_token` | Bearer token for authentication, obtained after login or token refresh |
| `logged_in_username` | Used in test validation to verify the returned user matches the authenticated session |
## Response Details
### Success Response
- **Status Code**: `200 OK`
- **Content-Type**: `application/json`
### Response Body Structure
```json
{
"id": number,
"username": string,
"email": string,
"firstName": string,
"lastName": string,
"maidenName": string,
"age": number,
"gender": string,
"phone": string,
"birthDate": string,
"image": string,
"bloodGroup": string,
"height": number,
"weight": number,
"eyeColor": string,
"hair": {
"color": string,
"type": string
},
"address": object,
"company": object,
"bank": object,
"role": string
}
```
### Key Response Fields
- **id**: Unique user identifier (number)
- **username**: User's login username (string)
- **email**: User's email address (string, validated format)
- **firstName**: User's first name
- **lastName**: User's last name
- **phone**: Contact phone number
- **role**: User's role in the system (e.g., "admin")
## Test Validations
This request includes comprehensive automated test assertions to ensure proper functionality:
1. ✓ **Status code is 200** - Verifies successful authentication and request processing
2. ✓ **Response time is less than 2000ms** - Ensures acceptable API performance
3. ✓ **Content-Type is application/json** - Confirms proper response format
4. ✓ **Response body is a JSON object** - Validates response structure
5. ✓ **Response contains id, username, and email** - Ensures essential user fields are present
6. ✓ **User id is a number and username is a string** - Validates data types for key fields
7. ✓ **Email format validation** - Confirms email follows valid format pattern (regex: `^\S+@\S+\.\S+$`)
8. ✓ **Returned user matches logged-in user** - Verifies the username matches the `logged_in_username` environment variable, ensuring session integrity
| Header Name | Header Value |
|---|---|
| Authorization | Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTksImV4cCI6MTc2OTcyNTE5OX0.AXJZ-9cCo74zAmk8gV48AJVxWk88DFJsP_VLoP6Kh6k |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6030bde9-07ca-4309-b5ce-75e2aed0cde2 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTksImV4cCI6MTc2OTcyNTE5OX0.AXJZ-9cCo74zAmk8gV48AJVxWk88DFJsP_VLoP6Kh6k; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTksImV4cCI6MTc3MjMxMzU5OX0.7XqmWTc134q4mHvui881zvntR8zvKP9HcuiUSaAAUAY |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:00 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 99 |
| x-ratelimit-reset | 1769721611 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"58f-CoL/KoXlW3x1PtqQr3wqPsXj6DE" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=z3Is7q5PKUCWHbgLXRDGmPr6mlL1CK9YpO%2FK1I36cpd9d2dF9R7jNQU7HCpPnnkU6RT%2Bl5fJD5poeD7sb1ZzjcIaGsjtfQZ%2F5nH3xKjOmeeYG92H%2BBi1mfU%3D"}]} |
| CF-RAY | 9c5bc5601b4c0c5b-AMM |
{"id":1,"firstName":"Emily","lastName":"Johnson","maidenName":"Smith","age":29,"gender":"female","email":"emily.johnson@x.dummyjson.com","phone":"+81 965-431-3024","username":"emilys","password":"emilyspass","birthDate":"1996-5-30","image":"https://dummyjson.com/icon/emilys/128","bloodGroup":"O-","height":193.24,"weight":63.16,"eyeColor":"Green","hair":{"color":"Brown","type":"Curly"},"ip":"42.48.100.32","address":{"address":"626 Main Street","city":"Phoenix","state":"Mississippi","stateCode":"MS","postalCode":"29112","coordinates":{"lat":-77.16213,"lng":-92.084824},"country":"United States"},"macAddress":"47:fa:41:18:ec:eb","university":"University of Wisconsin--Madison","bank":{"cardExpire":"05/28","cardNumber":"3693233511855044","cardType":"Diners Club International","currency":"GBP","iban":"GB74MH2UZLR9TRPHYNU8F8"},"company":{"department":"Engineering","name":"Dooley, Kozey and Cronin","title":"Sales Manager","address":{"address":"263 Tenth Street","city":"San Francisco","state":"Wisconsin","stateCode":"WI","postalCode":"37657","coordinates":{"lat":71.814525,"lng":-161.150263},"country":"United States"}},"ein":"977-175","ssn":"900-590-289","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body contains user id, username and user email | 1 | 0 | 0 |
| user id is a number and username is a string | 1 | 0 | 0 |
| user email is a valid email | 1 | 0 | 0 |
| returned user matches logged in user | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Login with Invalid Password
## Overview
This negative test case validates the API's behavior when a user attempts to authenticate with an invalid password. It ensures that the authentication endpoint properly rejects login attempts with incorrect credentials.
## Purpose
This negative test is important for verifying:
- **Security**: The API correctly denies access when invalid credentials are provided
- **Error Handling**: Appropriate error responses are returned to the client
- **Input Validation**: The authentication system properly validates password credentials
- **User Feedback**: Clear error messages are provided to help users understand authentication failures
## Expected Behavior
When invalid credentials are provided:
1. The API should reject the authentication attempt
2. Return a `400 Bad Request` status code
3. Provide a clear error message indicating invalid credentials
4. Not grant access tokens or authenticate the user
## Request Details
**HTTP Method:** `POST`
**Endpoint:** `https://dummyjson.com/auth/login`
**Content-Type:** `application/json`
**Request Body:**
```json
{
"username": "emilys",
"password": "wrongpass"
}
```
- `username`: Valid username (emilys)
- `password`: Invalid/incorrect password (wrongpass)
## Variables Used
- **baseUrl**: The base URL for the API (configured in the active environment)
## Response Details
**Status Code:** `400 Bad Request`
**Content-Type:** `application/json`
**Response Body Structure:**
```json
{
"message": "Invalid credentials"
}
```
The response contains:
- `message`: A string field containing the error description indicating that the provided credentials are invalid
## Test Validations
This request includes automated test assertions to verify the expected behavior:
1. ✓ **Status code is 400**: Validates that the API returns a `400 Bad Request` status code
2. ✓ **Response body contains error message field**: Ensures the response includes a `message` property
3. ✓ **Response body contains proper error message**: Verifies that the error message includes the text "invalid credentials" (case-insensitive)
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e7c024a3-160c-4758-9ae7-ab10077b3757 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 60 |
| Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTksImV4cCI6MTc2OTcyNTE5OX0.AXJZ-9cCo74zAmk8gV48AJVxWk88DFJsP_VLoP6Kh6k; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTksImV4cCI6MTc3MjMxMzU5OX0.7XqmWTc134q4mHvui881zvntR8zvKP9HcuiUSaAAUAY |
{
"username": "emilys",
"password": "wrongpass"
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:00 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 33 |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 96 |
| x-ratelimit-reset | 1769721607 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"21-dBEoW0UmTF+EGUMaprEp9/8zNNA" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=zjceONjyFxPQy8gjDW7d227IKkOmLBbF28aRrULxMDR%2BnlnBMTCK73ziFImAzHs0X4Z4ycZ9WXris8yq463ElASDgWUpCr8VZCdJuWd6na3q7qmB%2FZ3Dxb8%3D"}]} |
| CF-RAY | 9c5bc561afdb0c5b-AMM |
{"message":"Invalid credentials"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| response body contains error message field | 1 | 0 | 0 |
| response body contains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Login with Empty Password Field
## Overview
This negative test case validates the API's behavior when a login request is submitted with an empty password field. It ensures that the authentication endpoint properly handles and rejects incomplete login attempts.
## Purpose
This negative test is important to verify that the API:
- Enforces required field validation for authentication
- Returns appropriate error responses when mandatory fields are missing or empty
- Prevents authentication attempts with incomplete credentials
- Provides clear error messaging to help clients identify the issue
Testing empty/missing required fields is a critical aspect of API security and data validation, ensuring that the system doesn't process invalid requests.
## Expected Behavior
When the password field is empty (or missing), the API should:
- Reject the authentication request
- Return a `400 Bad Request` status code
- Provide a clear error message indicating that both username and password are required
- Not process the login attempt or generate any authentication tokens
## Request Details
**HTTP Method:** `POST`
**Endpoint:** `https://dummyjson.com/auth/login`
**Headers:**
- `Content-Type: application/json`
**Request Body:**
```json
{
"username": "emilys",
"password": ""
}
```
The request includes a valid username but an empty string for the password field, simulating a scenario where the user forgets to enter their password.
## Variables Used
- **baseUrl**: The base URL for the API (defined in the active environment)
## Response Details
**Status Code:** `400 Bad Request`
**Content-Type:** `application/json`
**Response Body Structure:**
```json
{
"message": "Username and password required"
}
```
The response contains a `message` field that provides a descriptive error message explaining why the request was rejected.
## Test Validations
The following automated test assertions are performed on the response:
1. **Status code is 400**: Verifies that the API returns a `400 Bad Request` status code, indicating a client-side error due to invalid input.
2. **Response body contains error message field**: Confirms that the response includes a `message` property, ensuring consistent error response structure.
3. **Response body contains proper error message**: Validates that the error message text includes "username and password required" (case-insensitive), ensuring the API provides meaningful feedback about the missing required fields.
These validations ensure that the API correctly handles incomplete authentication requests and provides appropriate error responses to guide API consumers.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d552f248-d1cb-4dfc-85fb-88d221350901 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 51 |
| Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTksImV4cCI6MTc2OTcyNTE5OX0.AXJZ-9cCo74zAmk8gV48AJVxWk88DFJsP_VLoP6Kh6k; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTksImV4cCI6MTc3MjMxMzU5OX0.7XqmWTc134q4mHvui881zvntR8zvKP9HcuiUSaAAUAY |
{
"username": "emilys",
"password": ""
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:00 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 44 |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 94 |
| x-ratelimit-reset | 1769721607 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"2c-JAq5V8MKfWmWXvKJFTg6rvXRjdU" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=AsEBl7XLgiQqcVaotFspkUDILoOLwMoL%2Fmo%2FDZgXHtKoAvkYh3AbDn0qW%2FSPC8zOn%2F1ycCeAAN87Hygz2FrMG5Ind9LoepuJmRLwhduS4y%2ByVjHsvtjf37o%3D"}]} |
| CF-RAY | 9c5bc5631ba60c5b-AMM |
{"message":"Username and password required"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| response body contains error message field | 1 | 0 | 0 |
| response body contains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Get Current User with Invalid Token
## Overview
This is a negative test case that validates the API's authentication mechanism by attempting to retrieve the current user's information using an invalid or expired authentication token.
## Purpose
This negative test is critical for verifying the security and robustness of the authentication system. It ensures that:
- The API properly rejects requests with invalid/expired tokens
- Unauthorized access is prevented when authentication credentials are compromised or outdated
- The system returns appropriate error messages to help identify authentication failures
- Security vulnerabilities related to token validation are not present
## Expected Behavior
When an invalid or expired token is used for authentication, the API should:
- Reject the request and deny access to protected resources
- Return a `401 Unauthorized` status code
- Provide a clear error message indicating the token is invalid or expired
- Not expose any sensitive user information
## Request Details
- **HTTP Method**: `GET`
- **Endpoint**: `https://dummyjson.com/auth/me`
- **Authentication**: Bearer Token (using `invalid token` variable)
## Variables Used
- **baseUrl**: The base URL for the API endpoint
- **invalid_token**: An invalid or expired authentication token used specifically for testing authentication failure scenarios
## Response Details
- **Status Code**: `401 Unauthorized`
- **Content-Type**: `application/json`
- **Response Body Structure**:
```json
{
"message": "Invalid/expired token"
}
```
The response contains a `message` field that provides details about the authentication error.
## Test Validations
This request includes automated test assertions to verify the expected behavior:
1. **Status code is 401**: Validates that the API returns the correct HTTP status code for unauthorized access
2. **Response body contains error message field**: Ensures the response includes a `message` property with error details
3. **Response body contains proper error message**: Verifies that the error message text includes "invalid/expired token" to clearly indicate the authentication failure reason
| Header Name | Header Value |
|---|---|
| Authorization | Bearer invalid token |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e8ec526f-5eb5-4fa1-bfd7-312d841b4546 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTksImV4cCI6MTc2OTcyNTE5OX0.AXJZ-9cCo74zAmk8gV48AJVxWk88DFJsP_VLoP6Kh6k; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE1OTksImV4cCI6MTc3MjMxMzU5OX0.7XqmWTc134q4mHvui881zvntR8zvKP9HcuiUSaAAUAY |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:00 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 36 |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 98 |
| x-ratelimit-reset | 1769721611 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| Set-Cookie | accessToken=; Path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT |
| Set-Cookie | refreshToken=; Path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT |
| etag | W/"24-xqucZbgfFI1MEKHBW2jR/IjHNdY" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=fc8pMOaUIK8%2FHcGSv83hqHjo11srjZgy41DaBkOMG87MIUTj76C9b5a%2FPwCJnfswyvzsSEkFB5oIi3OGT2lrz623VOdnTRyGBtyAQ%2BgEqWiQ7xM2HmFtQ7Q%3D"}]} |
| CF-RAY | 9c5bc5648fbb0c5b-AMM |
{"message":"Invalid/Expired Token!"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401 | 1 | 0 | 0 |
| response body contains error message field | 1 | 0 | 0 |
| Response body cantains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Products-List
## Overview
This endpoint retrieves a list of products from the DummyJSON API. It returns a paginated collection of product items with their basic information.
## Purpose
This endpoint is used to:
- Retrieve the product catalog for browsing and display purposes
- Support product listing pages in e-commerce applications
- Enable pagination through large product datasets
- Allow selective field retrieval to optimize response payload
## Expected Behavior
When executed successfully, this request returns a paginated list of products in JSON format. The response includes:
- An array of product objects with their details
- Pagination metadata (total count, skip offset, limit)
- HTTP 200 OK status code
- Response time under 2000ms
## Request Details
**HTTP Method:** `GET`
**Endpoint:** `https://dummyjson.com/products`
**Optional Query Parameters:**
- `limit` - Number of products to return (e.g., `10`)
- `skip` - Number of products to skip for pagination (e.g., `10`)
- `select` - Comma-separated list of fields to include in response (e.g., `title,price`)
**Example Request:**
```
GET https://dummyjson.com/products?limit=10&skip=0&select=title,price
```
## Variables Used
- **baseUrl**: The base URL for the DummyJSON API (configured in the active environment)
## Response Details
**Status Code:** `200 OK`
**Content-Type:** `application/json`
**Response Body Structure:**
```json
{
"products": [
{
"id": 1,
"title": "Product Name",
"price": 99.99,
// ... other product fields
}
],
"total": 100,
"skip": 0,
"limit": 10
}
```
**Response Fields:**
- `products` (array) - Array of product objects
- `id` (number) - Unique product identifier
- `title` (string) - Product name/title
- `price` (number) - Product price
- `total` (number) - Total number of products available
- `skip` (number) - Number of products skipped in pagination
- `limit` (number) - Maximum number of products returned
## Test Validations
This request includes automated test assertions to validate:
✓ **Status code is 200** - Confirms successful request
✓ **Response time is less than 2000ms** - Ensures acceptable performance
✓ **Content-Type is application/json** - Validates correct response format
✓ **Response body contains products array** - Verifies main data structure exists
✓ **Products array is not empty** - Ensures data is returned
✓ **Each product has id, title and price** - Validates required fields presence
✓ **Each product id is number, title is string, price is number** - Validates correct data types
✓ **Response body contains pagination fields** - Confirms total, skip, and limit fields exist
✓ **Products count does not exceed limit** - Validates pagination logic
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b7e776f7-38bf-4abc-b82c-3206f8699d3e |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:00 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 99 |
| x-ratelimit-reset | 1769676639 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"ac3a-uk0FDUI0X0lS5liyUbIxqA7L7F4" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| Age | 44966 |
| Cache-Control | no-store |
| cf-cache-status | HIT |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=hhTFOEvjNJeAJC1lFo29RBBn6kUQyxlF2ynlwjYC8PMg1A6%2FQYkw4qyl4FsM4wsCotTO7SYVlHRoaOjeBj8bcWVX2pxnuQePrjKrb29LWMVrxAauxII0Jfs%3D"}]} |
| CF-RAY | 9c5bc5660b4b0c5b-AMM |
{"products":[{"id":1,"title":"Essence Mascara Lash Princess","description":"The Essence Mascara Lash Princess is a popular mascara known for its volumizing and lengthening effects. Achieve dramatic lashes with this long-lasting and cruelty-free formula.","category":"beauty","price":9.99,"discountPercentage":10.48,"rating":2.56,"stock":99,"tags":["beauty","mascara"],"brand":"Essence","sku":"BEA-ESS-ESS-001","weight":4,"dimensions":{"width":15.14,"height":13.08,"depth":22.99},"warrantyInformation":"1 week warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Collins","reviewerEmail":"eleanor.collins@x.dummyjson.com"},{"rating":4,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lucas Gordon","reviewerEmail":"lucas.gordon@x.dummyjson.com"},{"rating":5,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Collins","reviewerEmail":"eleanor.collins@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":48,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5784719087687","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/thumbnail.webp"},{"id":2,"title":"Eyeshadow Palette with Mirror","description":"The Eyeshadow Palette with Mirror offers a versatile range of eyeshadow shades for creating stunning eye looks. With a built-in mirror, it's convenient for on-the-go makeup application.","category":"beauty","price":19.99,"discountPercentage":18.19,"rating":2.86,"stock":34,"tags":["beauty","eyeshadow"],"brand":"Glamour Beauty","sku":"BEA-GLA-EYE-002","weight":9,"dimensions":{"width":9.26,"height":22.47,"depth":27.67},"warrantyInformation":"1 year warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Savannah Gomez","reviewerEmail":"savannah.gomez@x.dummyjson.com"},{"rating":4,"comment":"Awesome product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Christian Perez","reviewerEmail":"christian.perez@x.dummyjson.com"},{"rating":1,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nicholas Bailey","reviewerEmail":"nicholas.bailey@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":20,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"9170275171413","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/eyeshadow-palette-with-mirror/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/eyeshadow-palette-with-mirror/thumbnail.webp"},{"id":3,"title":"Powder Canister","description":"The Powder Canister is a finely milled setting powder designed to set makeup and control shine. With a lightweight and translucent formula, it provides a smooth and matte finish.","category":"beauty","price":14.99,"discountPercentage":9.84,"rating":4.64,"stock":89,"tags":["beauty","face powder"],"brand":"Velvet Touch","sku":"BEA-VEL-POW-003","weight":8,"dimensions":{"width":29.27,"height":27.93,"depth":20.59},"warrantyInformation":"3 months warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Alexander Jones","reviewerEmail":"alexander.jones@x.dummyjson.com"},{"rating":5,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Elijah Cruz","reviewerEmail":"elijah.cruz@x.dummyjson.com"},{"rating":1,"comment":"Very dissatisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Avery Perez","reviewerEmail":"avery.perez@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":22,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"8418883906837","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/powder-canister/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/powder-canister/thumbnail.webp"},{"id":4,"title":"Red Lipstick","description":"The Red Lipstick is a classic and bold choice for adding a pop of color to your lips. With a creamy and pigmented formula, it provides a vibrant and long-lasting finish.","category":"beauty","price":12.99,"discountPercentage":12.16,"rating":4.36,"stock":91,"tags":["beauty","lipstick"],"brand":"Chic Cosmetics","sku":"BEA-CHI-LIP-004","weight":1,"dimensions":{"width":18.11,"height":28.38,"depth":22.17},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Liam Garcia","reviewerEmail":"liam.garcia@x.dummyjson.com"},{"rating":5,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Ruby Andrews","reviewerEmail":"ruby.andrews@x.dummyjson.com"},{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Clara Berry","reviewerEmail":"clara.berry@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":40,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"9467746727219","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/red-lipstick/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/red-lipstick/thumbnail.webp"},{"id":5,"title":"Red Nail Polish","description":"The Red Nail Polish offers a rich and glossy red hue for vibrant and polished nails. With a quick-drying formula, it provides a salon-quality finish at home.","category":"beauty","price":8.99,"discountPercentage":11.44,"rating":4.32,"stock":79,"tags":["beauty","nail polish"],"brand":"Nail Couture","sku":"BEA-NAI-NAI-005","weight":8,"dimensions":{"width":21.63,"height":16.48,"depth":29.84},"warrantyInformation":"1 month warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Benjamin Wilson","reviewerEmail":"benjamin.wilson@x.dummyjson.com"},{"rating":5,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Liam Smith","reviewerEmail":"liam.smith@x.dummyjson.com"},{"rating":1,"comment":"Very unhappy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Clara Berry","reviewerEmail":"clara.berry@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":22,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"4063010628104","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/red-nail-polish/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/red-nail-polish/thumbnail.webp"},{"id":6,"title":"Calvin Klein CK One","description":"CK One by Calvin Klein is a classic unisex fragrance, known for its fresh and clean scent. It's a versatile fragrance suitable for everyday wear.","category":"fragrances","price":49.99,"discountPercentage":1.89,"rating":4.37,"stock":29,"tags":["fragrances","perfumes"],"brand":"Calvin Klein","sku":"FRA-CAL-CAL-006","weight":7,"dimensions":{"width":29.36,"height":27.76,"depth":20.72},"warrantyInformation":"1 week warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Layla Young","reviewerEmail":"layla.young@x.dummyjson.com"},{"rating":4,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Daniel Cook","reviewerEmail":"daniel.cook@x.dummyjson.com"},{"rating":3,"comment":"Not as described!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Jacob Cooper","reviewerEmail":"jacob.cooper@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":9,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"2451534060749","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/fragrances/calvin-klein-ck-one/1.webp","https://cdn.dummyjson.com/product-images/fragrances/calvin-klein-ck-one/2.webp","https://cdn.dummyjson.com/product-images/fragrances/calvin-klein-ck-one/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/fragrances/calvin-klein-ck-one/thumbnail.webp"},{"id":7,"title":"Chanel Coco Noir Eau De","description":"Coco Noir by Chanel is an elegant and mysterious fragrance, featuring notes of grapefruit, rose, and sandalwood. Perfect for evening occasions.","category":"fragrances","price":129.99,"discountPercentage":16.51,"rating":4.26,"stock":58,"tags":["fragrances","perfumes"],"brand":"Chanel","sku":"FRA-CHA-CHA-007","weight":7,"dimensions":{"width":24.5,"height":25.7,"depth":25.98},"warrantyInformation":"3 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Ruby Andrews","reviewerEmail":"ruby.andrews@x.dummyjson.com"},{"rating":5,"comment":"Awesome product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Leah Henderson","reviewerEmail":"leah.henderson@x.dummyjson.com"},{"rating":5,"comment":"Very happy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Xavier Wright","reviewerEmail":"xavier.wright@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"4091737746820","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/fragrances/chanel-coco-noir-eau-de/1.webp","https://cdn.dummyjson.com/product-images/fragrances/chanel-coco-noir-eau-de/2.webp","https://cdn.dummyjson.com/product-images/fragrances/chanel-coco-noir-eau-de/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/fragrances/chanel-coco-noir-eau-de/thumbnail.webp"},{"id":8,"title":"Dior J'adore","description":"J'adore by Dior is a luxurious and floral fragrance, known for its blend of ylang-ylang, rose, and jasmine. It embodies femininity and sophistication.","category":"fragrances","price":89.99,"discountPercentage":14.72,"rating":3.8,"stock":98,"tags":["fragrances","perfumes"],"brand":"Dior","sku":"FRA-DIO-DIO-008","weight":4,"dimensions":{"width":27.67,"height":28.28,"depth":11.83},"warrantyInformation":"1 week warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Great value for money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nicholas Bailey","reviewerEmail":"nicholas.bailey@x.dummyjson.com"},{"rating":4,"comment":"Great value for money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Penelope Harper","reviewerEmail":"penelope.harper@x.dummyjson.com"},{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Emma Miller","reviewerEmail":"emma.miller@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":10,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"1445086097250","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/fragrances/dior-j'adore/1.webp","https://cdn.dummyjson.com/product-images/fragrances/dior-j'adore/2.webp","https://cdn.dummyjson.com/product-images/fragrances/dior-j'adore/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/fragrances/dior-j'adore/thumbnail.webp"},{"id":9,"title":"Dolce Shine Eau de","description":"Dolce Shine by Dolce & Gabbana is a vibrant and fruity fragrance, featuring notes of mango, jasmine, and blonde woods. It's a joyful and youthful scent.","category":"fragrances","price":69.99,"discountPercentage":0.62,"rating":3.96,"stock":4,"tags":["fragrances","perfumes"],"brand":"Dolce & Gabbana","sku":"FRA-DOL-DOL-009","weight":6,"dimensions":{"width":27.28,"height":29.88,"depth":18.3},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 1 month","availabilityStatus":"Low Stock","reviews":[{"rating":4,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Mateo Bennett","reviewerEmail":"mateo.bennett@x.dummyjson.com"},{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nolan Gonzalez","reviewerEmail":"nolan.gonzalez@x.dummyjson.com"},{"rating":5,"comment":"Very happy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Aurora Lawson","reviewerEmail":"aurora.lawson@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"3023868210708","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/fragrances/dolce-shine-eau-de/1.webp","https://cdn.dummyjson.com/product-images/fragrances/dolce-shine-eau-de/2.webp","https://cdn.dummyjson.com/product-images/fragrances/dolce-shine-eau-de/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/fragrances/dolce-shine-eau-de/thumbnail.webp"},{"id":10,"title":"Gucci Bloom Eau de","description":"Gucci Bloom by Gucci is a floral and captivating fragrance, with notes of tuberose, jasmine, and Rangoon creeper. It's a modern and romantic scent.","category":"fragrances","price":79.99,"discountPercentage":14.39,"rating":2.74,"stock":91,"tags":["fragrances","perfumes"],"brand":"Gucci","sku":"FRA-GUC-GUC-010","weight":7,"dimensions":{"width":20.92,"height":21.68,"depth":11.2},"warrantyInformation":"6 months warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":1,"comment":"Very dissatisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Cameron Perez","reviewerEmail":"cameron.perez@x.dummyjson.com"},{"rating":5,"comment":"Very happy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Daniel Cook","reviewerEmail":"daniel.cook@x.dummyjson.com"},{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Addison Wright","reviewerEmail":"addison.wright@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"3170832177880","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/fragrances/gucci-bloom-eau-de/1.webp","https://cdn.dummyjson.com/product-images/fragrances/gucci-bloom-eau-de/2.webp","https://cdn.dummyjson.com/product-images/fragrances/gucci-bloom-eau-de/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/fragrances/gucci-bloom-eau-de/thumbnail.webp"},{"id":11,"title":"Annibale Colombo Bed","description":"The Annibale Colombo Bed is a luxurious and elegant bed frame, crafted with high-quality materials for a comfortable and stylish bedroom.","category":"furniture","price":1899.99,"discountPercentage":8.57,"rating":4.77,"stock":88,"tags":["furniture","beds"],"brand":"Annibale Colombo","sku":"FUR-ANN-ANN-011","weight":10,"dimensions":{"width":28.16,"height":25.36,"depth":17.28},"warrantyInformation":"1 year warranty","shippingInformation":"Ships in 1 month","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Christopher West","reviewerEmail":"christopher.west@x.dummyjson.com"},{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Vivian Carter","reviewerEmail":"vivian.carter@x.dummyjson.com"},{"rating":1,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Mason Wright","reviewerEmail":"mason.wright@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"3610757456581","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-bed/1.webp","https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-bed/2.webp","https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-bed/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-bed/thumbnail.webp"},{"id":12,"title":"Annibale Colombo Sofa","description":"The Annibale Colombo Sofa is a sophisticated and comfortable seating option, featuring exquisite design and premium upholstery for your living room.","category":"furniture","price":2499.99,"discountPercentage":14.4,"rating":3.92,"stock":60,"tags":["furniture","sofas"],"brand":"Annibale Colombo","sku":"FUR-ANN-ANN-012","weight":6,"dimensions":{"width":12.75,"height":20.55,"depth":19.06},"warrantyInformation":"Lifetime warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Very unhappy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Christian Perez","reviewerEmail":"christian.perez@x.dummyjson.com"},{"rating":5,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lillian Bishop","reviewerEmail":"lillian.bishop@x.dummyjson.com"},{"rating":1,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lillian Simmons","reviewerEmail":"lillian.simmons@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"1777662847736","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-sofa/1.webp","https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-sofa/2.webp","https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-sofa/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-sofa/thumbnail.webp"},{"id":13,"title":"Bedside Table African Cherry","description":"The Bedside Table in African Cherry is a stylish and functional addition to your bedroom, providing convenient storage space and a touch of elegance.","category":"furniture","price":299.99,"discountPercentage":19.09,"rating":2.87,"stock":64,"tags":["furniture","bedside tables"],"brand":"Furniture Co.","sku":"FUR-FUR-BED-013","weight":2,"dimensions":{"width":13.47,"height":24.99,"depth":27.35},"warrantyInformation":"5 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Aaliyah Hanson","reviewerEmail":"aaliyah.hanson@x.dummyjson.com"},{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Liam Smith","reviewerEmail":"liam.smith@x.dummyjson.com"},{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Avery Barnes","reviewerEmail":"avery.barnes@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"6441287925979","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/furniture/bedside-table-african-cherry/1.webp","https://cdn.dummyjson.com/product-images/furniture/bedside-table-african-cherry/2.webp","https://cdn.dummyjson.com/product-images/furniture/bedside-table-african-cherry/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/furniture/bedside-table-african-cherry/thumbnail.webp"},{"id":14,"title":"Knoll Saarinen Executive Conference Chair","description":"The Knoll Saarinen Executive Conference Chair is a modern and ergonomic chair, perfect for your office or conference room with its timeless design.","category":"furniture","price":499.99,"discountPercentage":2.01,"rating":4.88,"stock":26,"tags":["furniture","office chairs"],"brand":"Knoll","sku":"FUR-KNO-KNO-014","weight":10,"dimensions":{"width":13.81,"height":7.5,"depth":5.62},"warrantyInformation":"2 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Waste of money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Ella Cook","reviewerEmail":"ella.cook@x.dummyjson.com"},{"rating":2,"comment":"Very dissatisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Clara Berry","reviewerEmail":"clara.berry@x.dummyjson.com"},{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Elena Long","reviewerEmail":"elena.long@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":5,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"8919386859966","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/furniture/knoll-saarinen-executive-conference-chair/1.webp","https://cdn.dummyjson.com/product-images/furniture/knoll-saarinen-executive-conference-chair/2.webp","https://cdn.dummyjson.com/product-images/furniture/knoll-saarinen-executive-conference-chair/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/furniture/knoll-saarinen-executive-conference-chair/thumbnail.webp"},{"id":15,"title":"Wooden Bathroom Sink With Mirror","description":"The Wooden Bathroom Sink with Mirror is a unique and stylish addition to your bathroom, featuring a wooden sink countertop and a matching mirror.","category":"furniture","price":799.99,"discountPercentage":8.8,"rating":3.59,"stock":7,"tags":["furniture","bathroom"],"brand":"Bath Trends","sku":"FUR-BAT-WOO-015","weight":10,"dimensions":{"width":7.98,"height":8.88,"depth":28.46},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"Low Stock","reviews":[{"rating":4,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Logan Torres","reviewerEmail":"logan.torres@x.dummyjson.com"},{"rating":5,"comment":"Very pleased!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Aria Parker","reviewerEmail":"aria.parker@x.dummyjson.com"},{"rating":3,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Dylan Wells","reviewerEmail":"dylan.wells@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"1958104402873","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/furniture/wooden-bathroom-sink-with-mirror/1.webp","https://cdn.dummyjson.com/product-images/furniture/wooden-bathroom-sink-with-mirror/2.webp","https://cdn.dummyjson.com/product-images/furniture/wooden-bathroom-sink-with-mirror/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/furniture/wooden-bathroom-sink-with-mirror/thumbnail.webp"},{"id":16,"title":"Apple","description":"Fresh and crisp apples, perfect for snacking or incorporating into various recipes.","category":"groceries","price":1.99,"discountPercentage":12.62,"rating":4.19,"stock":8,"tags":["fruits"],"sku":"GRO-BRD-APP-016","weight":9,"dimensions":{"width":13.66,"height":11.01,"depth":9.73},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Sophia Brown","reviewerEmail":"sophia.brown@x.dummyjson.com"},{"rating":1,"comment":"Very dissatisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Scarlett Bowman","reviewerEmail":"scarlett.bowman@x.dummyjson.com"},{"rating":3,"comment":"Very unhappy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"William Gonzalez","reviewerEmail":"william.gonzalez@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":7,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"7962803553314","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/apple/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/apple/thumbnail.webp"},{"id":17,"title":"Beef Steak","description":"High-quality beef steak, great for grilling or cooking to your preferred level of doneness.","category":"groceries","price":12.99,"discountPercentage":9.61,"rating":4.47,"stock":86,"tags":["meat"],"sku":"GRO-BRD-BEE-017","weight":10,"dimensions":{"width":18.9,"height":5.77,"depth":18.57},"warrantyInformation":"3 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Tyler","reviewerEmail":"eleanor.tyler@x.dummyjson.com"},{"rating":4,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Alexander Jones","reviewerEmail":"alexander.jones@x.dummyjson.com"},{"rating":5,"comment":"Great value for money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Natalie Harris","reviewerEmail":"natalie.harris@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":43,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5640063409695","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/beef-steak/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/beef-steak/thumbnail.webp"},{"id":18,"title":"Cat Food","description":"Nutritious cat food formulated to meet the dietary needs of your feline friend.","category":"groceries","price":8.99,"discountPercentage":9.58,"rating":3.13,"stock":46,"tags":["pet supplies","cat food"],"sku":"GRO-BRD-FOO-018","weight":10,"dimensions":{"width":18.08,"height":9.26,"depth":21.86},"warrantyInformation":"1 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Noah Lewis","reviewerEmail":"noah.lewis@x.dummyjson.com"},{"rating":3,"comment":"Very unhappy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Ruby Andrews","reviewerEmail":"ruby.andrews@x.dummyjson.com"},{"rating":2,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Ethan Thompson","reviewerEmail":"ethan.thompson@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":18,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"1483991328610","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/cat-food/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/cat-food/thumbnail.webp"},{"id":19,"title":"Chicken Meat","description":"Fresh and tender chicken meat, suitable for various culinary preparations.","category":"groceries","price":9.99,"discountPercentage":13.7,"rating":3.19,"stock":97,"tags":["meat"],"sku":"GRO-BRD-CHI-019","weight":1,"dimensions":{"width":11.03,"height":22.11,"depth":16.01},"warrantyInformation":"1 year warranty","shippingInformation":"Ships in 1 month","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Mateo Bennett","reviewerEmail":"mateo.bennett@x.dummyjson.com"},{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Jackson Evans","reviewerEmail":"jackson.evans@x.dummyjson.com"},{"rating":3,"comment":"Not worth the price!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Sadie Morales","reviewerEmail":"sadie.morales@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":22,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"8829514594521","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/chicken-meat/1.webp","https://cdn.dummyjson.com/product-images/groceries/chicken-meat/2.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/chicken-meat/thumbnail.webp"},{"id":20,"title":"Cooking Oil","description":"Versatile cooking oil suitable for frying, sautéing, and various culinary applications.","category":"groceries","price":4.99,"discountPercentage":9.33,"rating":4.8,"stock":10,"tags":["cooking essentials"],"sku":"GRO-BRD-COO-020","weight":5,"dimensions":{"width":19.95,"height":27.54,"depth":24.86},"warrantyInformation":"Lifetime warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Very happy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Victoria McDonald","reviewerEmail":"victoria.mcdonald@x.dummyjson.com"},{"rating":2,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Hazel Evans","reviewerEmail":"hazel.evans@x.dummyjson.com"},{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Zoe Bennett","reviewerEmail":"zoe.bennett@x.dummyjson.com"}],"returnPolicy":"30 days return policy","minimumOrderQuantity":46,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"4874727824518","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/cooking-oil/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/cooking-oil/thumbnail.webp"},{"id":21,"title":"Cucumber","description":"Crisp and hydrating cucumbers, ideal for salads, snacks, or as a refreshing side.","category":"groceries","price":1.49,"discountPercentage":0.16,"rating":4.07,"stock":84,"tags":["vegetables"],"sku":"GRO-BRD-CUC-021","weight":4,"dimensions":{"width":12.8,"height":28.38,"depth":21.34},"warrantyInformation":"2 year warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lincoln Kelly","reviewerEmail":"lincoln.kelly@x.dummyjson.com"},{"rating":4,"comment":"Great value for money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Savannah Gomez","reviewerEmail":"savannah.gomez@x.dummyjson.com"},{"rating":2,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"James Davis","reviewerEmail":"james.davis@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5300066378225","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/cucumber/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/cucumber/thumbnail.webp"},{"id":22,"title":"Dog Food","description":"Specially formulated dog food designed to provide essential nutrients for your canine companion.","category":"groceries","price":10.99,"discountPercentage":10.27,"rating":4.55,"stock":71,"tags":["pet supplies","dog food"],"sku":"GRO-BRD-FOO-022","weight":10,"dimensions":{"width":16.93,"height":27.15,"depth":9.29},"warrantyInformation":"No warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nicholas Edwards","reviewerEmail":"nicholas.edwards@x.dummyjson.com"},{"rating":5,"comment":"Awesome product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Zachary Lee","reviewerEmail":"zachary.lee@x.dummyjson.com"},{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nova Cooper","reviewerEmail":"nova.cooper@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":43,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5906686116469","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/dog-food/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/dog-food/thumbnail.webp"},{"id":23,"title":"Eggs","description":"Fresh eggs, a versatile ingredient for baking, cooking, or breakfast.","category":"groceries","price":2.99,"discountPercentage":11.05,"rating":2.53,"stock":9,"tags":["dairy"],"sku":"GRO-BRD-EGG-023","weight":2,"dimensions":{"width":11.42,"height":7.44,"depth":16.95},"warrantyInformation":"1 week warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Disappointing product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Penelope King","reviewerEmail":"penelope.king@x.dummyjson.com"},{"rating":3,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Tyler","reviewerEmail":"eleanor.tyler@x.dummyjson.com"},{"rating":4,"comment":"Very pleased!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Benjamin Foster","reviewerEmail":"benjamin.foster@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":32,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"3478638588469","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/eggs/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/eggs/thumbnail.webp"},{"id":24,"title":"Fish Steak","description":"Quality fish steak, suitable for grilling, baking, or pan-searing.","category":"groceries","price":14.99,"discountPercentage":4.23,"rating":3.78,"stock":74,"tags":["seafood"],"sku":"GRO-BRD-FIS-024","weight":6,"dimensions":{"width":14.95,"height":26.31,"depth":11.27},"warrantyInformation":"1 month warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Would not buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Caleb Perkins","reviewerEmail":"caleb.perkins@x.dummyjson.com"},{"rating":5,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Isabella Jackson","reviewerEmail":"isabella.jackson@x.dummyjson.com"},{"rating":4,"comment":"Great value for money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nathan Dixon","reviewerEmail":"nathan.dixon@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":50,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"9595036192098","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/fish-steak/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/fish-steak/thumbnail.webp"},{"id":25,"title":"Green Bell Pepper","description":"Fresh and vibrant green bell pepper, perfect for adding color and flavor to your dishes.","category":"groceries","price":1.29,"discountPercentage":0.16,"rating":3.25,"stock":33,"tags":["vegetables"],"sku":"GRO-BRD-GRE-025","weight":2,"dimensions":{"width":15.33,"height":26.65,"depth":14.44},"warrantyInformation":"1 month warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Avery Carter","reviewerEmail":"avery.carter@x.dummyjson.com"},{"rating":3,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Henry Hill","reviewerEmail":"henry.hill@x.dummyjson.com"},{"rating":5,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Addison Wright","reviewerEmail":"addison.wright@x.dummyjson.com"}],"returnPolicy":"30 days return policy","minimumOrderQuantity":12,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"2365227493323","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/green-bell-pepper/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/green-bell-pepper/thumbnail.webp"},{"id":26,"title":"Green Chili Pepper","description":"Spicy green chili pepper, ideal for adding heat to your favorite recipes.","category":"groceries","price":0.99,"discountPercentage":1,"rating":3.66,"stock":3,"tags":["vegetables"],"sku":"GRO-BRD-GRE-026","weight":7,"dimensions":{"width":15.38,"height":18.12,"depth":19.92},"warrantyInformation":"2 year warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"Low Stock","reviews":[{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Luna Russell","reviewerEmail":"luna.russell@x.dummyjson.com"},{"rating":1,"comment":"Waste of money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Noah Lewis","reviewerEmail":"noah.lewis@x.dummyjson.com"},{"rating":3,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Clara Berry","reviewerEmail":"clara.berry@x.dummyjson.com"}],"returnPolicy":"30 days return policy","minimumOrderQuantity":39,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"9335000538563","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/green-chili-pepper/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/green-chili-pepper/thumbnail.webp"},{"id":27,"title":"Honey Jar","description":"Pure and natural honey in a convenient jar, perfect for sweetening beverages or drizzling over food.","category":"groceries","price":6.99,"discountPercentage":14.4,"rating":3.97,"stock":34,"tags":["condiments"],"sku":"GRO-BRD-HON-027","weight":2,"dimensions":{"width":9.28,"height":21.72,"depth":17.74},"warrantyInformation":"1 month warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":1,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Autumn Gomez","reviewerEmail":"autumn.gomez@x.dummyjson.com"},{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Benjamin Wilson","reviewerEmail":"benjamin.wilson@x.dummyjson.com"},{"rating":2,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nicholas Edwards","reviewerEmail":"nicholas.edwards@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":47,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"6354306346329","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/honey-jar/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/honey-jar/thumbnail.webp"},{"id":28,"title":"Ice Cream","description":"Creamy and delicious ice cream, available in various flavors for a delightful treat.","category":"groceries","price":5.49,"discountPercentage":8.69,"rating":3.39,"stock":27,"tags":["desserts"],"sku":"GRO-BRD-CRE-028","weight":1,"dimensions":{"width":14.83,"height":15.07,"depth":24.2},"warrantyInformation":"1 month warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Very pleased!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Elijah Cruz","reviewerEmail":"elijah.cruz@x.dummyjson.com"},{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Jace Smith","reviewerEmail":"jace.smith@x.dummyjson.com"},{"rating":5,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Sadie Morales","reviewerEmail":"sadie.morales@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":42,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"0788954559076","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/ice-cream/1.webp","https://cdn.dummyjson.com/product-images/groceries/ice-cream/2.webp","https://cdn.dummyjson.com/product-images/groceries/ice-cream/3.webp","https://cdn.dummyjson.com/product-images/groceries/ice-cream/4.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/ice-cream/thumbnail.webp"},{"id":29,"title":"Juice","description":"Refreshing fruit juice, packed with vitamins and great for staying hydrated.","category":"groceries","price":3.99,"discountPercentage":12.06,"rating":3.94,"stock":50,"tags":["beverages"],"sku":"GRO-BRD-JUI-029","weight":1,"dimensions":{"width":18.56,"height":21.46,"depth":28.02},"warrantyInformation":"6 months warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nolan Gonzalez","reviewerEmail":"nolan.gonzalez@x.dummyjson.com"},{"rating":4,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Bella Grant","reviewerEmail":"bella.grant@x.dummyjson.com"},{"rating":5,"comment":"Awesome product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Aria Flores","reviewerEmail":"aria.flores@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":25,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"6936112580956","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/juice/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/juice/thumbnail.webp"},{"id":30,"title":"Kiwi","description":"Nutrient-rich kiwi, perfect for snacking or adding a tropical twist to your dishes.","category":"groceries","price":2.49,"discountPercentage":15.22,"rating":4.93,"stock":99,"tags":["fruits"],"sku":"GRO-BRD-KIW-030","weight":5,"dimensions":{"width":19.4,"height":18.67,"depth":17.13},"warrantyInformation":"6 months warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Emily Brown","reviewerEmail":"emily.brown@x.dummyjson.com"},{"rating":2,"comment":"Would not buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Jackson Morales","reviewerEmail":"jackson.morales@x.dummyjson.com"},{"rating":4,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nora Russell","reviewerEmail":"nora.russell@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":30,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"2530169917252","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/kiwi/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/kiwi/thumbnail.webp"}],"total":194,"skip":0,"limit":30}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000 ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body contains products array | 1 | 0 | 0 |
| products array is not empty | 1 | 0 | 0 |
| Each product has id, title and price | 1 | 0 | 0 |
| each product id is number,title is string, price is number | 1 | 0 | 0 |
| response body contains pagination fields | 1 | 0 | 0 |
| products count does not exceed limit | 1 | 0 | 0 |
| each product price is not negative | 1 | 0 | 0 |
| Total | 10 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Product-By ID
## Overview
This endpoint retrieves a specific product by its unique identifier. It returns detailed information about a single product from the DummyJSON API.
## Purpose
This endpoint is used to:
- View detailed information about a specific product
- Retrieve product data for display on product detail pages
- Fetch product information for inventory management or catalog systems
- Validate product existence and details in the system
## Expected Behavior
When this request is executed successfully, it returns comprehensive information about the requested product, including its ID, title, description, category, and price. The response is delivered in JSON format with a 200 OK status code.
## Request Details
- **HTTP Method**: `GET`
- **Endpoint**: `https://dummyjson.com/products/1`
- **Path Variables**:
- `product_id` - The unique identifier of the product to retrieve
## Variables Used
- **baseUrl**: The base URL for the DummyJSON API
- **product_id**: The unique identifier of the product to retrieve (numeric value)
## Response Details
- **Status Code**: `200 OK`
- **Content-Type**: `application/json`
- **Response Body Structure**:
``` json
{
"id": number,
"title": string,
"description": string,
"category": string,
"price": number
}
```
### Response Fields:
- `id` (number): The unique identifier of the product
- `title` (string): The name/title of the product
- `description` (string): Detailed description of the product
- `category` (string): The category to which the product belongs
- `price` (number): The price of the product
## Test Validations
This request includes the following automated test assertions:
- ✓ **Status code is 200**: Verifies the request was successful
- ✓ **Response time is less than 2000ms**: Ensures the API responds within acceptable performance limits
- ✓ **Content-Type is application/json**: Confirms the response format is JSON
- ✓ **Response body is a JSON object**: Validates the response structure
- ✓ **Response body contains required fields**: Checks for presence of `id`, `title`, `description`, `category`, and `price`
- ✓ **Required fields have correct data types**: Validates that:
- `id` is a number
- `title` is a string
- `description` is a string
- `category` is a string
- `price` is a number
- ✓ **Returned product id matches requested product id**: Ensures the correct product was retrieved
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 447fc368-4f84-427b-bbd6-4949a7c006c1 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:01 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 99 |
| x-ratelimit-reset | 1769530921 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"5e6-bX+IgjHKZz+TflDmEXfyyaBO9Hk" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| Age | 190686 |
| Cache-Control | no-store |
| cf-cache-status | HIT |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=5LoSEwASRaaJyC2RRyun1na%2BrYXwFCD%2BAHSKo0L1QvBng1jhk7Oj368I7ZueMBpMFRsRemENnQItcq2k3fZe%2BmpGFJMf%2FWXpqQNZpytUoauKO045fIhONMU%3D"}]} |
| CF-RAY | 9c5bc566dd900c5b-AMM |
{"id":1,"title":"Essence Mascara Lash Princess","description":"The Essence Mascara Lash Princess is a popular mascara known for its volumizing and lengthening effects. Achieve dramatic lashes with this long-lasting and cruelty-free formula.","category":"beauty","price":9.99,"discountPercentage":10.48,"rating":2.56,"stock":99,"tags":["beauty","mascara"],"brand":"Essence","sku":"BEA-ESS-ESS-001","weight":4,"dimensions":{"width":15.14,"height":13.08,"depth":22.99},"warrantyInformation":"1 week warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Collins","reviewerEmail":"eleanor.collins@x.dummyjson.com"},{"rating":4,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lucas Gordon","reviewerEmail":"lucas.gordon@x.dummyjson.com"},{"rating":5,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Collins","reviewerEmail":"eleanor.collins@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":48,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5784719087687","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/thumbnail.webp"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body contains required fields | 1 | 0 | 0 |
| required fields have correct data types | 1 | 0 | 0 |
| returned product id matches requested product id | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Search Product-By Query
## Overview
This endpoint allows users to search for products in the DummyJSON API by providing a search query. The API returns a list of products that match the search criteria based on product titles and descriptions.
## Purpose
To enable product search functionality by accepting a query parameter and returning relevant products from the database. This is commonly used for implementing search features in e-commerce applications.
## Expected Behavior
- Accepts a search query string as a parameter
- Returns products where the query matches either the product title or description
- Returns at least one product for valid search queries
- Responds with a 200 status code for successful searches
- Returns results in JSON format within 2000ms
## Request Details
**Method:** `GET`
**URL:** `https://dummyjson.com/products/search?q=phone`
**Query Parameters:**
- `q` (required): The search query string to filter products. This parameter accepts text that will be matched against product titles and descriptions.
**Headers:** None specified (default headers apply)
## Variables Used
- **`baseUrl`**: The base URL for the DummyJSON API endpoint. This variable should point to the API's root URL (e.g., `https://dummyjson.com`).
- **`product_query`**: The search term or phrase used to find matching products. This variable contains the actual search string that will be passed to the `q` query parameter.
## Response Details
**Structure:**
The response returns a JSON object containing an array of product objects.
**Fields:**
- `products` (array): An array of product objects matching the search criteria
- `id` (number): Unique identifier for the product
- `title` (string): Product name/title
- `price` (number): Product price
- `description` (string): Product description (used in search matching)
- Additional product fields may be included
**Data Types:**
- Product ID: Number
- Product Title: String
- Product Price: Number
- Products Array: Array of objects
## Test Validations
This request includes comprehensive automated tests to validate the API response:
1. **Status Code Validation**: Verifies that the response returns a 200 OK status code, indicating successful request processing.
2. **Performance Check**: Ensures the response time is less than 2000 milliseconds to maintain acceptable API performance.
3. **Content-Type Validation**: Confirms that the response Content-Type header is `application/json`, ensuring proper data format.
4. **Response Structure Validation**: Checks that the response body contains a `products` property that is an array.
5. **Non-Empty Results**: Validates that the search returns at least one product for valid search queries.
6. **Required Fields Presence**: Verifies that each product in the results contains the required fields: `id`, `title`, and `price`.
7. **Data Type Validation**: Ensures that each product's fields have the correct data types:
- `id` must be a number
- `title` must be a string
- `price` must be a number
8. **Search Relevance**: Confirms that the search query appears in either the product title or description of returned products, validating search accuracy.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9cdae9c3-68b8-4360-a1cf-3b09564f29c1 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:01 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 95 |
| x-ratelimit-reset | 1769721607 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"91a2-RFRCC1oz+o2Uvyk0nOQo9Pf5Q2g" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=yyloCQxHUEKf%2BN88AKVEuSfEFswkUcFpE2tKsRo2z1AJYCNFnqt%2BsDtwMlC8yrlqb1dYWT4bOPxsiZzJ2w5nPh5rpEKnDYxeJh%2FTIdyBhWH8HGtpL%2F5i40M%3D"}]} |
| CF-RAY | 9c5bc5677f3d0c5b-AMM |
{"products":[{"id":101,"title":"Apple AirPods Max Silver","description":"The Apple AirPods Max in Silver are premium over-ear headphones with high-fidelity audio, adaptive EQ, and active noise cancellation. Experience immersive sound in style.","category":"mobile-accessories","price":549.99,"discountPercentage":13.67,"rating":3.47,"stock":59,"tags":["electronics","over-ear headphones"],"brand":"Apple","sku":"MOB-APP-APP-101","weight":2,"dimensions":{"width":24.88,"height":14.9,"depth":27.54},"warrantyInformation":"No warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Henry Adams","reviewerEmail":"henry.adams@x.dummyjson.com"},{"rating":4,"comment":"Very happy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Elijah Cruz","reviewerEmail":"elijah.cruz@x.dummyjson.com"},{"rating":4,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"William Lopez","reviewerEmail":"william.lopez@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"4062176053732","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/apple-airpods-max-silver/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/apple-airpods-max-silver/thumbnail.webp"},{"id":104,"title":"Apple iPhone Charger","description":"The Apple iPhone Charger is a high-quality charger designed for fast and efficient charging of your iPhone. Ensure your device stays powered up and ready to go.","category":"mobile-accessories","price":19.99,"discountPercentage":18.52,"rating":4.15,"stock":31,"tags":["electronics","chargers"],"brand":"Apple","sku":"MOB-APP-APP-104","weight":1,"dimensions":{"width":13.63,"height":26.25,"depth":5.95},"warrantyInformation":"1 year warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":1,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Sadie Morales","reviewerEmail":"sadie.morales@x.dummyjson.com"},{"rating":5,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lily Torres","reviewerEmail":"lily.torres@x.dummyjson.com"},{"rating":2,"comment":"Waste of money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Luke Cooper","reviewerEmail":"luke.cooper@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":14,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"0879776541417","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/apple-iphone-charger/1.webp","https://cdn.dummyjson.com/product-images/mobile-accessories/apple-iphone-charger/2.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/apple-iphone-charger/thumbnail.webp"},{"id":105,"title":"Apple MagSafe Battery Pack","description":"The Apple MagSafe Battery Pack is a portable and convenient way to add extra battery life to your MagSafe-compatible iPhone. Attach it magnetically for a secure connection.","category":"mobile-accessories","price":99.99,"discountPercentage":17.17,"rating":3.62,"stock":1,"tags":["electronics","power banks"],"brand":"Apple","sku":"MOB-APP-APP-105","weight":6,"dimensions":{"width":15.4,"height":11.89,"depth":19.67},"warrantyInformation":"2 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"Low Stock","reviews":[{"rating":2,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Stella Morris","reviewerEmail":"stella.morris@x.dummyjson.com"},{"rating":2,"comment":"Not as described!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Henry Adams","reviewerEmail":"henry.adams@x.dummyjson.com"},{"rating":5,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Cameron Burke","reviewerEmail":"cameron.burke@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":4,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5157424897794","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/apple-magsafe-battery-pack/1.webp","https://cdn.dummyjson.com/product-images/mobile-accessories/apple-magsafe-battery-pack/2.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/apple-magsafe-battery-pack/thumbnail.webp"},{"id":107,"title":"Beats Flex Wireless Earphones","description":"The Beats Flex Wireless Earphones offer a comfortable and versatile audio experience. With magnetic earbuds and up to 12 hours of battery life, they are ideal for everyday use.","category":"mobile-accessories","price":49.99,"discountPercentage":5.73,"rating":4.24,"stock":50,"tags":["electronics","wireless earphones"],"brand":"Beats","sku":"MOB-BEA-BEA-107","weight":8,"dimensions":{"width":17.86,"height":25.74,"depth":23.09},"warrantyInformation":"1 year warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Disappointing product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"William Gonzalez","reviewerEmail":"william.gonzalez@x.dummyjson.com"},{"rating":5,"comment":"Very pleased!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Gabriel Mitchell","reviewerEmail":"gabriel.mitchell@x.dummyjson.com"},{"rating":2,"comment":"Not worth the price!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Gabriel Adams","reviewerEmail":"gabriel.adams@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":17,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"1741271692174","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/beats-flex-wireless-earphones/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/beats-flex-wireless-earphones/thumbnail.webp"},{"id":108,"title":"iPhone 12 Silicone Case with MagSafe Plum","description":"The iPhone 12 Silicone Case with MagSafe in Plum is a stylish and protective case designed for the iPhone 12. It features MagSafe technology for easy attachment of accessories.","category":"mobile-accessories","price":29.99,"discountPercentage":13.85,"rating":3.62,"stock":69,"tags":["electronics","phone accessories"],"brand":"Apple","sku":"MOB-APP-IPH-108","weight":7,"dimensions":{"width":12.49,"height":11.29,"depth":23.52},"warrantyInformation":"3 months warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Would not buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Penelope King","reviewerEmail":"penelope.king@x.dummyjson.com"},{"rating":5,"comment":"Great value for money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Isabella Anderson","reviewerEmail":"isabella.anderson@x.dummyjson.com"},{"rating":5,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Claire Foster","reviewerEmail":"claire.foster@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":4,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"8156838251449","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/iphone-12-silicone-case-with-magsafe-plum/1.webp","https://cdn.dummyjson.com/product-images/mobile-accessories/iphone-12-silicone-case-with-magsafe-plum/2.webp","https://cdn.dummyjson.com/product-images/mobile-accessories/iphone-12-silicone-case-with-magsafe-plum/3.webp","https://cdn.dummyjson.com/product-images/mobile-accessories/iphone-12-silicone-case-with-magsafe-plum/4.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/iphone-12-silicone-case-with-magsafe-plum/thumbnail.webp"},{"id":110,"title":"Selfie Lamp with iPhone","description":"The Selfie Lamp with iPhone is a portable and adjustable LED light designed to enhance your selfies and video calls. Attach it to your iPhone for well-lit photos.","category":"mobile-accessories","price":14.99,"discountPercentage":19.4,"rating":3.55,"stock":58,"tags":["electronics","selfie accessories"],"brand":"GadgetMaster","sku":"MOB-GAD-SEL-110","weight":10,"dimensions":{"width":5.26,"height":13.84,"depth":22.83},"warrantyInformation":"Lifetime warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Luke Cooper","reviewerEmail":"luke.cooper@x.dummyjson.com"},{"rating":3,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Caleb Perkins","reviewerEmail":"caleb.perkins@x.dummyjson.com"},{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Benjamin Wilson","reviewerEmail":"benjamin.wilson@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":22,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"4372781189895","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/selfie-lamp-with-iphone/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/selfie-lamp-with-iphone/thumbnail.webp"},{"id":111,"title":"Selfie Stick Monopod","description":"The Selfie Stick Monopod is a extendable and foldable device for capturing the perfect selfie or group photo. Compatible with smartphones and cameras.","category":"mobile-accessories","price":12.99,"discountPercentage":19.12,"rating":3.88,"stock":11,"tags":["electronics","selfie accessories"],"brand":"SnapTech","sku":"MOB-SNA-SEL-111","weight":2,"dimensions":{"width":24.76,"height":26.38,"depth":21.39},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Ryan Graham","reviewerEmail":"ryan.graham@x.dummyjson.com"},{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nora Russell","reviewerEmail":"nora.russell@x.dummyjson.com"},{"rating":1,"comment":"Very dissatisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Luna Perez","reviewerEmail":"luna.perez@x.dummyjson.com"}],"returnPolicy":"30 days return policy","minimumOrderQuantity":8,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"7063982050226","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/selfie-stick-monopod/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/selfie-stick-monopod/thumbnail.webp"},{"id":121,"title":"iPhone 5s","description":"The iPhone 5s is a classic smartphone known for its compact design and advanced features during its release. While it's an older model, it still provides a reliable user experience.","category":"smartphones","price":199.99,"discountPercentage":12.91,"rating":2.83,"stock":25,"tags":["smartphones","apple"],"brand":"Apple","sku":"SMA-APP-IPH-121","weight":2,"dimensions":{"width":5.29,"height":18.38,"depth":17.72},"warrantyInformation":"Lifetime warranty","shippingInformation":"Ships in 1 month","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Jace Smith","reviewerEmail":"jace.smith@x.dummyjson.com"},{"rating":1,"comment":"Not as described!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Logan Torres","reviewerEmail":"logan.torres@x.dummyjson.com"},{"rating":5,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Harper Kelly","reviewerEmail":"harper.kelly@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"8814683940853","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/iphone-5s/1.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-5s/2.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-5s/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/iphone-5s/thumbnail.webp"},{"id":122,"title":"iPhone 6","description":"The iPhone 6 is a stylish and capable smartphone with a larger display and improved performance. It introduced new features and design elements, making it a popular choice in its time.","category":"smartphones","price":299.99,"discountPercentage":6.69,"rating":3.41,"stock":60,"tags":["smartphones","apple"],"brand":"Apple","sku":"SMA-APP-IPH-122","weight":7,"dimensions":{"width":11,"height":9.1,"depth":9.67},"warrantyInformation":"1 month warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Disappointing product!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Stella Morris","reviewerEmail":"stella.morris@x.dummyjson.com"},{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Nolan Gonzalez","reviewerEmail":"nolan.gonzalez@x.dummyjson.com"},{"rating":5,"comment":"Great value for money!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Benjamin Foster","reviewerEmail":"benjamin.foster@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":5,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"9922357685013","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/iphone-6/1.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-6/2.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-6/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/iphone-6/thumbnail.webp"},{"id":123,"title":"iPhone 13 Pro","description":"The iPhone 13 Pro is a cutting-edge smartphone with a powerful camera system, high-performance chip, and stunning display. It offers advanced features for users who demand top-notch technology.","category":"smartphones","price":1099.99,"discountPercentage":9.37,"rating":4.12,"stock":56,"tags":["smartphones","apple"],"brand":"Apple","sku":"SMA-APP-IPH-123","weight":8,"dimensions":{"width":12.63,"height":5.28,"depth":14.29},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Christian Perez","reviewerEmail":"christian.perez@x.dummyjson.com"},{"rating":3,"comment":"Not worth the price!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Liam Gonzalez","reviewerEmail":"liam.gonzalez@x.dummyjson.com"},{"rating":5,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Tristan Scott","reviewerEmail":"tristan.scott@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"4998438802308","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/iphone-13-pro/1.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-13-pro/2.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-13-pro/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/iphone-13-pro/thumbnail.webp"},{"id":124,"title":"iPhone X","description":"The iPhone X is a flagship smartphone featuring a bezel-less OLED display, facial recognition technology (Face ID), and impressive performance. It represents a milestone in iPhone design and innovation.","category":"smartphones","price":899.99,"discountPercentage":19.59,"rating":2.51,"stock":37,"tags":["smartphones","apple"],"brand":"Apple","sku":"SMA-APP-IPH-124","weight":1,"dimensions":{"width":21.88,"height":24.19,"depth":14.19},"warrantyInformation":"3 months warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Tyler Davis","reviewerEmail":"tyler.davis@x.dummyjson.com"},{"rating":5,"comment":"Great product!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Aria Parker","reviewerEmail":"aria.parker@x.dummyjson.com"},{"rating":2,"comment":"Not as described!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Lily Torres","reviewerEmail":"lily.torres@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"3034949322264","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/iphone-x/1.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-x/2.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-x/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/iphone-x/thumbnail.webp"},{"id":125,"title":"Oppo A57","description":"The Oppo A57 is a mid-range smartphone known for its sleek design and capable features. It offers a balance of performance and affordability, making it a popular choice.","category":"smartphones","price":249.99,"discountPercentage":2.43,"rating":3.94,"stock":19,"tags":["smartphones","oppo"],"brand":"Oppo","sku":"SMA-OPP-OPP-125","weight":5,"dimensions":{"width":7.2,"height":10.74,"depth":23.68},"warrantyInformation":"Lifetime warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Scarlett Wright","reviewerEmail":"scarlett.wright@x.dummyjson.com"},{"rating":5,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Jacob Cooper","reviewerEmail":"jacob.cooper@x.dummyjson.com"},{"rating":2,"comment":"Poor quality!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Zoe Nicholson","reviewerEmail":"zoe.nicholson@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"0651223722522","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/oppo-a57/1.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-a57/2.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-a57/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/oppo-a57/thumbnail.webp"},{"id":126,"title":"Oppo F19 Pro Plus","description":"The Oppo F19 Pro Plus is a feature-rich smartphone with a focus on camera capabilities. It boasts advanced photography features and a powerful performance for a premium user experience.","category":"smartphones","price":399.99,"discountPercentage":18.64,"rating":3.51,"stock":78,"tags":["smartphones","oppo"],"brand":"Oppo","sku":"SMA-OPP-OPP-126","weight":6,"dimensions":{"width":6.78,"height":25.17,"depth":8.4},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Very happy with my purchase!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Emily Johnson","reviewerEmail":"emily.johnson@x.dummyjson.com"},{"rating":5,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Jaxon Barnes","reviewerEmail":"jaxon.barnes@x.dummyjson.com"},{"rating":4,"comment":"Would buy again!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Nova Cooper","reviewerEmail":"nova.cooper@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"8576893968169","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/oppo-f19-pro-plus/1.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-f19-pro-plus/2.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-f19-pro-plus/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/oppo-f19-pro-plus/thumbnail.webp"},{"id":127,"title":"Oppo K1","description":"The Oppo K1 series offers a range of smartphones with various features and specifications. Known for their stylish design and reliable performance, the Oppo K1 series caters to diverse user preferences.","category":"smartphones","price":299.99,"discountPercentage":18.29,"rating":4.25,"stock":55,"tags":["smartphones","oppo"],"brand":"Oppo","sku":"SMA-OPP-OPP-127","weight":5,"dimensions":{"width":13.89,"height":10.63,"depth":16.6},"warrantyInformation":"1 month warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Very pleased!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Christopher West","reviewerEmail":"christopher.west@x.dummyjson.com"},{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Mia Miller","reviewerEmail":"mia.miller@x.dummyjson.com"},{"rating":2,"comment":"Very dissatisfied!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Ella Adams","reviewerEmail":"ella.adams@x.dummyjson.com"}],"returnPolicy":"30 days return policy","minimumOrderQuantity":5,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"3106827888743","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/oppo-k1/1.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-k1/2.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-k1/3.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-k1/4.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/oppo-k1/thumbnail.webp"},{"id":128,"title":"Realme C35","description":"The Realme C35 is a budget-friendly smartphone with a focus on providing essential features for everyday use. It offers a reliable performance and user-friendly experience.","category":"smartphones","price":149.99,"discountPercentage":15.3,"rating":4.2,"stock":48,"tags":["smartphones","realme"],"brand":"Realme","sku":"SMA-REA-REA-128","weight":2,"dimensions":{"width":25.28,"height":8.14,"depth":29.53},"warrantyInformation":"3 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Penelope King","reviewerEmail":"penelope.king@x.dummyjson.com"},{"rating":2,"comment":"Very unhappy with my purchase!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Asher Scott","reviewerEmail":"asher.scott@x.dummyjson.com"},{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Henry Adams","reviewerEmail":"henry.adams@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"7825844344364","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/realme-c35/1.webp","https://cdn.dummyjson.com/product-images/smartphones/realme-c35/2.webp","https://cdn.dummyjson.com/product-images/smartphones/realme-c35/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/realme-c35/thumbnail.webp"},{"id":129,"title":"Realme X","description":"The Realme X is a mid-range smartphone known for its sleek design and impressive display. It offers a good balance of performance and camera capabilities for users seeking a quality device.","category":"smartphones","price":299.99,"discountPercentage":6.95,"rating":3.7,"stock":12,"tags":["smartphones","realme"],"brand":"Realme","sku":"SMA-REA-REA-129","weight":4,"dimensions":{"width":25.59,"height":21.42,"depth":12.75},"warrantyInformation":"1 month warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Hazel Evans","reviewerEmail":"hazel.evans@x.dummyjson.com"},{"rating":5,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Brayden Fleming","reviewerEmail":"brayden.fleming@x.dummyjson.com"},{"rating":5,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Madison Stewart","reviewerEmail":"madison.stewart@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"4948452391831","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/realme-x/1.webp","https://cdn.dummyjson.com/product-images/smartphones/realme-x/2.webp","https://cdn.dummyjson.com/product-images/smartphones/realme-x/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/realme-x/thumbnail.webp"},{"id":130,"title":"Realme XT","description":"The Realme XT is a feature-rich smartphone with a focus on camera technology. It comes equipped with advanced camera sensors, delivering high-quality photos and videos for photography enthusiasts.","category":"smartphones","price":349.99,"discountPercentage":11.51,"rating":4.58,"stock":80,"tags":["smartphones","realme"],"brand":"Realme","sku":"SMA-REA-REA-130","weight":3,"dimensions":{"width":24.98,"height":26.73,"depth":6.5},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 1 month","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Emily Brown","reviewerEmail":"emily.brown@x.dummyjson.com"},{"rating":3,"comment":"Not as described!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Ella Cook","reviewerEmail":"ella.cook@x.dummyjson.com"},{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Layla Sullivan","reviewerEmail":"layla.sullivan@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"6151817227632","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/realme-xt/1.webp","https://cdn.dummyjson.com/product-images/smartphones/realme-xt/2.webp","https://cdn.dummyjson.com/product-images/smartphones/realme-xt/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/realme-xt/thumbnail.webp"},{"id":131,"title":"Samsung Galaxy S7","description":"The Samsung Galaxy S7 is a flagship smartphone known for its sleek design and advanced features. It features a high-resolution display, powerful camera, and robust performance.","category":"smartphones","price":299.99,"discountPercentage":19.55,"rating":3.3,"stock":67,"tags":["smartphones","samsung galaxy"],"brand":"Samsung","sku":"SMA-SAM-SAM-131","weight":10,"dimensions":{"width":13.55,"height":24.24,"depth":5.63},"warrantyInformation":"3 months warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":1,"comment":"Not as described!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Julian James","reviewerEmail":"julian.james@x.dummyjson.com"},{"rating":4,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Lucas Gordon","reviewerEmail":"lucas.gordon@x.dummyjson.com"},{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Ava Taylor","reviewerEmail":"ava.taylor@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"7557912146622","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s7/1.webp","https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s7/2.webp","https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s7/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s7/thumbnail.webp"},{"id":132,"title":"Samsung Galaxy S8","description":"The Samsung Galaxy S8 is a premium smartphone with an Infinity Display, offering a stunning visual experience. It boasts advanced camera capabilities and cutting-edge technology.","category":"smartphones","price":499.99,"discountPercentage":19.45,"rating":4.4,"stock":0,"tags":["smartphones","samsung galaxy"],"brand":"Samsung","sku":"SMA-SAM-SAM-132","weight":6,"dimensions":{"width":23.05,"height":26.88,"depth":15.73},"warrantyInformation":"2 year warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"Out of Stock","reviews":[{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Owen Fisher","reviewerEmail":"owen.fisher@x.dummyjson.com"},{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Clara Berry","reviewerEmail":"clara.berry@x.dummyjson.com"},{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Tyler Davis","reviewerEmail":"tyler.davis@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":4,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"5995499013336","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s8/1.webp","https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s8/2.webp","https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s8/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s8/thumbnail.webp"},{"id":133,"title":"Samsung Galaxy S10","description":"The Samsung Galaxy S10 is a flagship device featuring a dynamic AMOLED display, versatile camera system, and powerful performance. It represents innovation and excellence in smartphone technology.","category":"smartphones","price":699.99,"discountPercentage":5.59,"rating":3.06,"stock":19,"tags":["smartphones","samsung galaxy"],"brand":"Samsung","sku":"SMA-SAM-SAM-133","weight":9,"dimensions":{"width":27.41,"height":15.26,"depth":27.02},"warrantyInformation":"No warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Tristan Scott","reviewerEmail":"tristan.scott@x.dummyjson.com"},{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Christopher West","reviewerEmail":"christopher.west@x.dummyjson.com"},{"rating":2,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Amelia Perez","reviewerEmail":"amelia.perez@x.dummyjson.com"}],"returnPolicy":"30 days return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"4676898229465","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s10/1.webp","https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s10/2.webp","https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s10/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s10/thumbnail.webp"},{"id":134,"title":"Vivo S1","description":"The Vivo S1 is a stylish and mid-range smartphone offering a blend of design and performance. It features a vibrant display, capable camera system, and reliable functionality.","category":"smartphones","price":249.99,"discountPercentage":10.17,"rating":3.5,"stock":50,"tags":["smartphones","vivo"],"brand":"Vivo","sku":"SMA-VIV-VIV-134","weight":4,"dimensions":{"width":14.06,"height":11.79,"depth":6.78},"warrantyInformation":"6 months warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Samantha Martinez","reviewerEmail":"samantha.martinez@x.dummyjson.com"},{"rating":3,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Logan Lee","reviewerEmail":"logan.lee@x.dummyjson.com"},{"rating":4,"comment":"Would buy again!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Sophia Jones","reviewerEmail":"sophia.jones@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"8575699153333","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/vivo-s1/1.webp","https://cdn.dummyjson.com/product-images/smartphones/vivo-s1/2.webp","https://cdn.dummyjson.com/product-images/smartphones/vivo-s1/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/vivo-s1/thumbnail.webp"},{"id":135,"title":"Vivo V9","description":"The Vivo V9 is a smartphone known for its sleek design and emphasis on capturing high-quality selfies. It features a notch display, dual-camera setup, and a modern design.","category":"smartphones","price":299.99,"discountPercentage":17.67,"rating":3.6,"stock":82,"tags":["smartphones","vivo"],"brand":"Vivo","sku":"SMA-VIV-VIV-135","weight":4,"dimensions":{"width":19.85,"height":21.83,"depth":13.04},"warrantyInformation":"2 year warranty","shippingInformation":"Ships in 1 month","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Very unhappy with my purchase!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Logan Lawson","reviewerEmail":"logan.lawson@x.dummyjson.com"},{"rating":5,"comment":"Awesome product!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Layla Young","reviewerEmail":"layla.young@x.dummyjson.com"},{"rating":4,"comment":"Great value for money!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Asher Scott","reviewerEmail":"asher.scott@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"4295398764784","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/vivo-v9/1.webp","https://cdn.dummyjson.com/product-images/smartphones/vivo-v9/2.webp","https://cdn.dummyjson.com/product-images/smartphones/vivo-v9/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/vivo-v9/thumbnail.webp"},{"id":136,"title":"Vivo X21","description":"The Vivo X21 is a premium smartphone with a focus on cutting-edge technology. It features an in-display fingerprint sensor, a high-resolution display, and advanced camera capabilities.","category":"smartphones","price":499.99,"discountPercentage":17.41,"rating":4.26,"stock":7,"tags":["smartphones","vivo"],"brand":"Vivo","sku":"SMA-VIV-VIV-136","weight":10,"dimensions":{"width":22.49,"height":21.62,"depth":27.88},"warrantyInformation":"1 year warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Very pleased!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Liam Gonzalez","reviewerEmail":"liam.gonzalez@x.dummyjson.com"},{"rating":4,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Aurora Barnes","reviewerEmail":"aurora.barnes@x.dummyjson.com"},{"rating":2,"comment":"Not as described!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Evelyn Walker","reviewerEmail":"evelyn.walker@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"9944308291810","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/vivo-x21/1.webp","https://cdn.dummyjson.com/product-images/smartphones/vivo-x21/2.webp","https://cdn.dummyjson.com/product-images/smartphones/vivo-x21/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/vivo-x21/thumbnail.webp"}],"total":23,"skip":0,"limit":23}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000 ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body contains products array | 1 | 0 | 0 |
| search return at least one product | 1 | 0 | 0 |
| each product has required fields | 1 | 0 | 0 |
| required fields have correct data types | 1 | 0 | 0 |
| search query is reflected in the response | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Products with Limit, Skip, and Select
## Overview
This endpoint retrieves a paginated list of products from the DummyJSON API with the ability to control the number of results returned, skip a specified number of products, and select specific fields to include in the response.
## Purpose
This request demonstrates how to:
- Implement pagination using `limit` and `skip` parameters
- Filter response data to include only specific fields using the `select` parameter
- Optimize API responses by requesting only the data needed
- Validate pagination logic and field selection through automated tests
## Expected Behavior
The API should return a subset of products based on the pagination parameters, with each product containing only the fields specified in the `select` parameter. The response includes metadata about the total number of products available and the pagination state.
## Request Details
**Method:** `GET`
**URL:** `https://dummyjson.com/products?limit=10&skip=10&select=title,price`
**Query Parameters:**
- **limit** (integer): Maximum number of products to return in the response. Set to `10` to retrieve 10 products.
- **skip** (integer): Number of products to skip before starting to return results. Set to `10` to skip the first 10 products (useful for pagination).
- **select** (string): Comma-separated list of fields to include in each product object. Set to `title,price` to return only the title and price fields.
## Variables Used
- **baseUrl**: The base URL for the DummyJSON API endpoint (defined in the active environment)
## Response Details
**Structure:**
```json
{
"products": [
{
"id": 11,
"title": "Product Title",
"price": 99.99
}
],
"total": 100,
"skip": 10,
"limit": 10
}
```
**Fields:**
- **products** (array): Array of product objects containing only the selected fields
- **id** (number): Product identifier
- **title** (string): Product name/title
- **price** (number): Product price
- **total** (number): Total number of products available in the database
- **skip** (number): Number of products skipped (echoes the request parameter)
- **limit** (number): Maximum number of products returned (echoes the request parameter)
**Data Types:**
- `products`: Array of objects
- `total`, `skip`, `limit`: Numbers
- `title`: String
- `price`, `id`: Numbers
## Test Validations
This request includes comprehensive automated tests to validate the API response:
1. **Status Code Validation**: Verifies that the response status code is `200 OK`, indicating a successful request.
2. **Performance Check**: Ensures the response time is less than 2000ms to validate API performance.
3. **Content-Type Validation**: Confirms that the response Content-Type header is `application/json`.
4. **Products Array Existence**: Validates that the response body contains a `products` property that is an array.
5. **Required Fields Validation**: Checks that the response includes the required metadata fields: `total`, `skip`, and `limit`.
6. **Limit Parameter Validation**: Verifies that the number of products returned does not exceed the `limit` parameter specified in the request (10 products maximum).
7. **Skip Parameter Validation**: Confirms that pagination is working correctly by checking that the first product's ID equals `skip + 1` (in this case, the first product should have ID 11 when skip=10).
8. **Select Parameter Validation**: Ensures that each product in the response contains only the fields specified in the `select` parameter (`title` and `price`), validating that field filtering is working as expected.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2f19a754-357a-4fe9-a87c-74c1bdbbda53 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:01 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 97 |
| x-ratelimit-reset | 1769721611 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"24c-Ixzqnac0wdL7dYxmEYVxYgj0DEw" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=VVVnJLMj7E1lBxdQIG5ylNlXdcEV0fvlPJJEr%2BzuVTFYA0OInJqrwcmPgb%2BbP02cZRZOaRDMVT8sGgWOu4Xxvdfu%2FfwSm0Li2zIy44K2a7JLkhes7xREsAE%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc5692c020c5b-AMM |
{"products":[{"id":11,"title":"Annibale Colombo Bed","price":1899.99},{"id":12,"title":"Annibale Colombo Sofa","price":2499.99},{"id":13,"title":"Bedside Table African Cherry","price":299.99},{"id":14,"title":"Knoll Saarinen Executive Conference Chair","price":499.99},{"id":15,"title":"Wooden Bathroom Sink With Mirror","price":799.99},{"id":16,"title":"Apple","price":1.99},{"id":17,"title":"Beef Steak","price":12.99},{"id":18,"title":"Cat Food","price":8.99},{"id":19,"title":"Chicken Meat","price":9.99},{"id":20,"title":"Cooking Oil","price":4.99}],"total":194,"skip":10,"limit":10}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-Type is application/json | 1 | 0 | 0 |
| response body contains products array | 1 | 0 | 0 |
| response body contains required fields | 1 | 0 | 0 |
| products count is less than or equal to limit | 1 | 0 | 0 |
| products returned are correct based on skip parameter | 1 | 0 | 0 |
| response body contains selected fields | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Add New Product
## Overview
This request creates a new product in the DummyJSON API system by sending product details via a POST request. It validates that the product is successfully created and that the response contains all the submitted information along with a generated product ID.
## Purpose
The primary purpose of this request is to:
- Add a new product to the product catalog
- Verify that the API correctly processes and stores product information
- Ensure the response includes all submitted data plus a system-generated identifier
- Validate API performance and response structure
## Expected Behavior
When executed, this request should:
- Send product details (title, description, category, price) to the API endpoint
- Receive a `201 Created` status code indicating successful product creation
- Return a response containing all the original product fields plus a newly generated `id`
- Complete the operation within 2 seconds
- Return properly formatted JSON data
## Request Details
**Method:** `POST`
**URL:** `https://dummyjson.com/products/add`
**Request Body Structure:**
```json
{
"title": "Red Nail Polish",
"description": "Red Nail Polish with glow effect",
"category": "Beauty",
"price": 5
}
```
**Body Fields:**
- `title` (string): The name of the product
- `description` (string): Detailed description of the product
- `category` (string): Product category classification
- `price` (number): Product price value
## Variables Used
- **`baseUrl`**: The base URL for the DummyJSON API endpoint. This variable is defined in the active environment and allows for easy switching between different API environments (e.g., QA, production).
## Response Details
**Expected Status Code:** `201 Created`
**Response Structure:**
The API returns a JSON object containing all the submitted product fields plus an auto-generated identifier.
**Response Fields:**
- `id` (number): System-generated unique identifier for the newly created product
- `title` (string): Product name as submitted in the request
- `description` (string): Product description as submitted in the request
- `category` (string): Product category as submitted in the request
- `price` (number): Product price as submitted in the request
**Example Response:**
```json
{
"id": 195,
"title": "Red Nail Polish",
"description": "Red Nail Polish with glow effect",
"category": "Beauty",
"price": 5
}
```
## Test Validations
This request includes 7 automated test validations that run after receiving the response:
1. **Status Code Validation**: Verifies that the response status code is `201`, confirming successful product creation.
2. **Performance Validation**: Ensures the response time is less than 2000ms (2 seconds), validating acceptable API performance.
3. **Content-Type Validation**: Checks that the response `Content-Type` header includes `application/json`, confirming proper response format.
4. **Response Structure Validation**: Validates that the response body is a JSON object, ensuring the correct data structure.
5. **ID Field Validation**: Confirms that the response body contains an `id` property and that it is of number data type, verifying the system generated a valid identifier.
6. **Request Body Keys Validation**: Iterates through all keys in the request body and verifies that each key exists in the response, ensuring no data was lost during processing.
7. **Request Body Values Validation**: Compares all values from the request body with corresponding values in the response, confirming that the API accurately stored and returned the submitted product information.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 0b8552dd-1160-43c1-ac84-e83da621c3f6 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 133 |
{
"title": "Red Nail Polish",
"description":"Red Nail Polish with glow effect",
"category":"Beauty",
"price":5
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:01 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 115 |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 94 |
| x-ratelimit-reset | 1769721607 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"73-zkKcG4JUzvalQo/LgvbqhkmQ7HQ" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=VfOi%2F7moqhqIHVYjUhyF3YGvn6pOLAxt39h6VFsoIQPnAFrTSmTBp1veBxM%2F883j%2F8GAn3MQ3sElQ1Z8BK15Y0DFHr%2FSrnQD2v7Ddhyj8%2BWlwY2go3aQJ44%3D"}]} |
| CF-RAY | 9c5bc56a98520c5b-AMM |
{"id":195,"title":"Red Nail Polish","price":5,"description":"Red Nail Polish with glow effect","category":"Beauty"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 201 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-Type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body has id key and is number data type | 1 | 0 | 0 |
| returned product contains all request body keys | 1 | 0 | 0 |
| returned product contains all request body values | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Update Product
## Overview
This endpoint allows partial updates to an existing product in the system using the PATCH HTTP method. It enables modification of specific product fields without requiring all product data to be sent in the request.
## Purpose
The primary purpose of this request is to update selected attributes of a product identified by its unique `product_id`. This is particularly useful when you need to modify only certain fields (such as title or category) while leaving other product attributes unchanged.
## Expected Behavior
When executed successfully, this request will:
- Accept a partial product object containing only the fields to be updated
- Update the specified fields for the product matching the provided `product_id`
- Return the complete updated product object in the response
- Validate that the changes were applied correctly through automated tests
## Request Details
**Method:** `PATCH`
**URL:** `https://dummyjson.com/products/1`
**Request Body Structure:**
The request body is sent as raw JSON and includes the fields to be updated:
```json
{
"title": "Lip Gloss",
"category": "Makeup"
}
```
**Fields:**
- `title` (string): The updated product title/name
- `category` (string): The updated product category
## Variables Used
This request utilizes the following variables:
- **`baseUrl`**: The base URL of the API endpoint (e.g., `https://dummyjson.com`)
- **`product_id`**: The unique identifier of the product to be updated
These variables should be defined in your active environment for the request to execute properly.
## Response Details
The API returns a JSON object representing the updated product with the following characteristics:
**Structure:** JSON Object
**Response Fields:**
- Contains all product fields including both updated and unchanged attributes
- The fields specified in the request body (`title`, `category`) will reflect the new values
- Other product fields (such as `id`, `price`, `description`, etc.) remain unchanged
**Data Types:**
- String fields for textual data (title, category, description)
- Numeric fields for quantitative data (id, price, stock)
- The response structure matches the complete product schema
**Key Behavior:** The response returns the full product object after applying the updates, allowing you to verify that only the specified fields were modified while all other data remained intact.
## Test Validations
This request includes 5 automated tests in the post-response script to ensure proper functionality:
1. **Status Code Validation**: Verifies that the response status code is `200`, confirming the update was successful.
2. **Response Time Check**: Ensures the API responds within 2000 milliseconds (2 seconds), validating acceptable performance.
3. **Content-Type Verification**: Confirms that the response `Content-Type` header includes `application/json`, ensuring the correct data format.
4. **Response Structure Validation**: Checks that the response body is a valid JSON object, confirming proper data structure.
5. **Field Update Verification**: Dynamically validates that each field sent in the request body matches the corresponding field in the response, ensuring all specified updates were applied correctly. This test iterates through all keys in the request body and compares them with the response values.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bdfdba9a-6e95-4f60-90b8-c82f0b489b23 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 55 |
{
"title":"Lip Gloss",
"category":"Makeup"
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:02 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 96 |
| x-ratelimit-reset | 1769721611 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"212-MnhZ1KLQAeMJ5PyhRQ885JHlhEk" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=DUvwlaqu%2F53uSW%2F%2BNHTkYBND%2FSwlaT1aOgfeuGmMZh%2BlsyYRIUik3F3LxdQQZPKp%2F5wAEXRH%2FOwgJDPHMoY2RY6oMa92mjp1j5c%2Fb8gx7Oot17SfOoQPI%2FY%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc56c1c570c5b-AMM |
{"id":1,"title":"Lip Gloss","price":9.99,"discountPercentage":10.48,"stock":99,"rating":2.56,"images":["https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/thumbnail.webp","description":"The Essence Mascara Lash Princess is a popular mascara known for its volumizing and lengthening effects. Achieve dramatic lashes with this long-lasting and cruelty-free formula.","brand":"Essence","category":"Makeup"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| edited fields are updated | 1 | 0 | 0 |
| Total | 5 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Delete Product
## Overview
This endpoint removes a product from the system by its unique identifier. The DELETE operation marks the product as deleted and returns confirmation details including the deletion timestamp.
## Purpose
To permanently delete a specific product from the inventory system using its product ID. This operation is typically used when a product needs to be removed from the catalog or inventory management system.
## Expected Behavior
When a valid product ID is provided, the API will:
- Mark the product as deleted in the system
- Return a confirmation response with deletion status
- Include a timestamp indicating when the deletion occurred
- Respond with a 200 OK status code upon successful deletion
## Request Details
- **Method:** `DELETE`
- **URL:** `https://dummyjson.com/products/1`
- **Request Body:** None required
The endpoint uses a path variable to identify which product to delete. No request body is needed for this operation.
## Variables Used
- **`baseUrl`**: The base URL of the API server (e.g., https://dummyjson.com)
- **`product_id`**: The unique identifier of the product to be deleted
## Response Details
The API returns a JSON object confirming the deletion operation.
**Response Structure:**
```json
{
"isDeleted": boolean,
"deletedOn": string
}
```
**Response Fields:**
- **`isDeleted`** (boolean): Indicates whether the product has been successfully deleted. Returns `true` when deletion is successful.
- **`deletedOn`** (string): A timestamp string representing when the product was deleted from the system.
## Test Validations
The request includes 7 automated test validations to ensure proper API behavior:
1. **Status Code Validation**: Verifies that the response status code is 200, confirming successful deletion
2. **Response Time Check**: Ensures the API responds within 2000 milliseconds for optimal performance
3. **Content-Type Validation**: Confirms the response Content-Type header is `application/json`
4. **Response Structure Validation**: Verifies that the response body is a valid JSON object
5. **isDeleted Property Validation**: Checks that the response contains an `isDeleted` property with a boolean data type
6. **deletedOn Property Validation**: Checks that the response contains a `deletedOn` property with a string data type
7. **Deletion Confirmation**: Validates that the `isDeleted` field is `true`, confirming the product was successfully deleted
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a0094563-91c4-4895-ac1d-3b85529fba55 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:02 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 93 |
| x-ratelimit-reset | 1769721603 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"61e-NSm3uLenRPXlfCyJMbnTFa/Q3Ek" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=8OlBB%2FP58KQfn0vbGklOvnhL%2FhnMyphwoUZiP830Hw3sCRJf%2Fp8Ax0wb48Cr4OvZnAzzokK77U7N4gouFfPVlTnZdlTvpMTu3oJTrkslzHqN7cZyyKTHU6Y%3D"}]} |
| CF-RAY | 9c5bc56d9ff00c5b-AMM |
{"id":1,"title":"Essence Mascara Lash Princess","description":"The Essence Mascara Lash Princess is a popular mascara known for its volumizing and lengthening effects. Achieve dramatic lashes with this long-lasting and cruelty-free formula.","category":"beauty","price":9.99,"discountPercentage":10.48,"rating":2.56,"stock":99,"tags":["beauty","mascara"],"brand":"Essence","sku":"BEA-ESS-ESS-001","weight":4,"dimensions":{"width":15.14,"height":13.08,"depth":22.99},"warrantyInformation":"1 week warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Collins","reviewerEmail":"eleanor.collins@x.dummyjson.com"},{"rating":4,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lucas Gordon","reviewerEmail":"lucas.gordon@x.dummyjson.com"},{"rating":5,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Collins","reviewerEmail":"eleanor.collins@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":48,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5784719087687","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/thumbnail.webp","isDeleted":true,"deletedOn":"2026-01-29T21:20:02.245Z"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body has is deleted property with correct data type | 1 | 0 | 0 |
| response body has deleted on property with correct data type | 1 | 0 | 0 |
| product is deleted | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Get Product with Invalid ID
## Overview
This is a negative test case designed to validate the API's error handling capabilities when attempting to retrieve a product using an invalid product ID. The request intentionally uses an invalid identifier to ensure the API responds appropriately with proper error messages and status codes.
## Purpose
The primary purpose of this test is to:
- Verify that the API correctly handles invalid product ID requests
- Ensure appropriate HTTP error status codes are returned (404 Not Found)
- Validate that meaningful error messages are provided to API consumers
- Confirm the API's robustness in handling edge cases and invalid inputs
## Expected Behavior
When this request is executed with an invalid product ID, the API should:
- Return a **404 Not Found** status code
- Provide a JSON response containing an error message
- Include a descriptive message indicating the product was not found
- Handle the error gracefully without server crashes or unexpected behavior
## Request Details
- **HTTP Method:** `GET`
- **Endpoint URL:** `https://dummyjson.com/products/99999999`
- **Request Body:** None (GET requests do not include a request body)
The endpoint follows RESTful conventions for retrieving a single resource by ID, where the product ID is passed as a path parameter.
## Variables Used
This request utilizes the following variables:
| Variable | Description |
|----------|-------------|
| `baseUrl` | The base URL of the API endpoint (e.g., https://dummyjson.com) |
| `invalid_id` | An invalid product identifier used to trigger the error response |
These variables should be configured in the active environment to ensure the test executes correctly.
## Response Details
**Expected Status Code:** `404 Not Found`
**Response Structure:**
The API returns a JSON object containing error information:
```json
{
"message": "Product with id '[invalid_id]' not found"
}
```
**Response Fields:**
- `message` (string): A descriptive error message indicating that the requested product could not be found
**Data Types:**
- The response is a JSON object
- The `message` field contains a string value with details about the error
## Test Validations
This request includes three automated test validations in the post-response script:
### 1. **Status Code Validation**
- **Test Name:** "Status code is 404"
- **Purpose:** Verifies that the API returns the correct HTTP status code (404) when an invalid product ID is provided
- **Validation:** Checks that `pm.response.to.have.status(404)`
### 2. **Error Message Presence**
- **Test Name:** "response body contains error message"
- **Purpose:** Ensures the response body includes a `message` property to communicate the error to the client
- **Validation:** Checks that the response object has a property named "message"
### 3. **Error Message Content**
- **Test Name:** "response body contains proper error message"
- **Purpose:** Validates that the error message is meaningful and specifically indicates the resource was "not found"
- **Validation:** Checks that the message text (case-insensitive) includes the phrase "not found"
All three tests must pass for this negative test case to be considered successful, ensuring comprehensive validation of the API's error handling behavior.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d2bf175f-f157-4745-8291-d371ed3a2c6c |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:02 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 93 |
| x-ratelimit-reset | 1769721607 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"32-zUUkJE53bVqc5DHiuD4GsBHb/1U" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=PpTblEQ1%2Bc7673qC0cVcuFzWQJhbrkcmVCy0ox%2BUVYLZNfyxpoWQo2qU8SSiZhcsb82LjXoM4DZ8NxKd850ouAqGOnhWos6CZb5HFsi93%2B8JGV5wLClXJGg%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc56f1bc80c5b-AMM |
{"message":"Product with id '99999999' not found"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| response body contains error message | 1 | 0 | 0 |
| response body contains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Delete Product with Invalid ID
## Overview
This is a negative test case designed to validate the API's error handling when attempting to delete a product using an invalid product ID. The request tests whether the API properly rejects deletion attempts with non-existent product identifiers and returns appropriate error responses.
## Purpose
The purpose of this test is to ensure that:
- The API correctly handles invalid product IDs during delete operations
- Proper HTTP status codes are returned for failed deletion attempts
- Error messages are clear and informative
- The API maintains data integrity by preventing operations on non-existent resources
## Expected Behavior
When a DELETE request is sent with an invalid product ID, the API should:
- Return a `404 Not Found` status code
- Provide a JSON response containing an error message
- Include the text "not found" in the error message
- Reject the deletion operation without affecting any existing data
## Request Details
- **Method:** `DELETE`
- **URL:** `https://dummyjson.com/products/99999999`
- **Request Body:** None (DELETE requests typically do not include a request body)
- **Path Variable:** The `invalid_id` variable is used in the URL path to represent a non-existent product identifier
## Variables Used
- **`baseUrl`**: The base URL of the API endpoint (e.g., the root domain and path)
- **`invalid_id`**: A product ID that does not exist in the system, used to trigger the error scenario
## Response Details
The expected response structure for this negative test case:
- **Status Code:** `404` (Not Found)
- **Response Body Structure:**
- `message` (string): An error message describing why the deletion failed
- **Data Types:**
- The response is in JSON format
- The `message` field contains a string value that includes "not found" text
Example response:
```json
{
"message": "Product not found"
}
```
## Test Validations
This request includes three automated test validations in the post-response script:
1. **Status Code Validation**: Verifies that the response status code is `404`, confirming that the API correctly identifies the product as non-existent.
2. **Error Message Property Check**: Ensures that the response body contains a `message` property, validating that the API provides error information in the expected format.
3. **Error Message Content Validation**: Confirms that the error message includes the text "not found" (case-insensitive), ensuring the error message is meaningful and accurately describes the issue.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 318eb9c5-e3db-43b8-a2b7-9b287b0844be |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:02 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 92 |
| x-ratelimit-reset | 1769721607 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"32-zUUkJE53bVqc5DHiuD4GsBHb/1U" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=9WicEU2RO5NsYPnNykSrPx5LROcDhyMpYQ5sFTivLnqni5%2FRbyvKt%2Bo7EoAts0flLME6pVF7Y06hP%2FC5eEx5O%2BmLilB3kMLZbOCO9AqpYNjO8owQUoucHlo%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc5705f850c5b-AMM |
{"message":"Product with id '99999999' not found"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| response body contains error message | 1 | 0 | 0 |
| response body contains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Carts-List
## Overview
This endpoint retrieves a list of all shopping carts from the DummyJSON API. It provides comprehensive cart information including products, totals, discounts, and user associations.
## Purpose
The primary purpose of this request is to fetch all available carts in the system. This is useful for:
- Monitoring active shopping carts
- Analyzing cart data across users
- Testing cart retrieval functionality
- Validating cart data structure and integrity
## Expected Behaviour
When this request is executed successfully, it returns a JSON response containing an array of cart objects. Each cart includes detailed information about the products added, pricing details, and the associated user.
## Request Details
**HTTP Method:** `GET`
**Endpoint URL:** `https://dummyjson.com/carts`
**Headers:** None required
**Query Parameters:** None
**Path Variables:** None
**Authentication:** None required for this endpoint
## Variables Used
| Variable | Description | Example Value |
| --- | --- | --- |
| `baseUrl` | The base URL for the DummyJSON API | `https://dummyjson.com` |
The `baseUrl` variable is defined in the active environment and should point to the root URL of the DummyJSON API.
## Response Details
The response returns a JSON object with the following structure:
``` json
{
"carts": [
{
"id": number,
"products": array,
"total": number,
"discountedTotal": number,
"userId": number,
"totalProducts": number,
"totalQuantity": number
}
],
"total": number,
"skip": number,
"limit": number
}
```
**Response Fields:**
- `carts` (array): An array containing all cart objects
- `id` (number): Unique identifier for the cart
- `products` (array): Array of product objects in the cart
- `total` (number): Total price before discounts
- `discountedTotal` (number): Total price after applying discounts
- `userId` (number): ID of the user who owns the cart
- `totalProducts` (number): Total number of unique products in the cart
- `totalQuantity` (number): Total quantity of all products in the cart
- `total` (number): Total number of carts available
- `skip` (number): Number of carts skipped for pagination
- `limit` (number): Maximum number of carts returned per request
## Test Validations
This request includes comprehensive automated test validations to ensure the API response meets expected standards. All tests are executed automatically after receiving the response.
### 1\. Status Code Validation
**Test:** Status code is 200
**Validates:** The API successfully processes the request and returns an HTTP 200 OK status code, indicating successful retrieval of cart data.
### 2\. Response Time Performance
**Test:** Response time is less than 2000 ms
**Validates:** The API responds within acceptable performance thresholds (under 2 seconds), ensuring good user experience and system responsiveness.
### 3\. Content-Type Header Validation
**Test:** Response Content-type is application/json
**Validates:** The response is returned in JSON format as expected, with the correct Content-Type header set to application/json.
### 4\. Response Body Structure - Carts Array
**Test:** response body contains cart array
**Validates:** The response body contains the required `carts` property and that it is an array data type, confirming the correct response structure.
### 5\. Data Availability Check
**Test:** cart list is not empty
**Validates:** The carts array contains at least one cart object, ensuring that data is being returned and the system has cart records available.
### 6\. Cart Object Required Fields
**Test:** each cart contains required fields
**Validates:** Every cart object in the response contains all mandatory fields: `id`, `products`, `total`, `discountedTotal`, `userId`, `totalProducts`, and `totalQuantity`.
### 7\. Cart Object Data Type Validation
**Test:** each cart contains fields with correct data types
**Validates:** All cart fields have the correct data types - `id`, `total`, `discountedTotal`, `userId`, `totalProducts`, and `totalQuantity` are numbers, and `products` is an array.
### 8\. Cart Products Array Validation
**Test:** each cart product array is not empty
**Validates:** Each cart's products array contains at least one product, ensuring that carts are not empty and contain actual product data.
### 9\. Product Object Required Fields
**Test:** cart products contain required fields
**Validates:** Each product within a cart contains all necessary fields such as product ID, title, price, quantity, and other product-specific information.
### 10\. Pagination Fields Validation
**Test:** response body contains pagination fields
**Validates:** The response includes pagination metadata fields (`total`, `skip`, `limit`) to support proper pagination handling and navigation through cart data.
### 11\. Pagination Limit Compliance
**Test:** carts count does not exceed limit
**Validates:** The number of carts returned in the response does not exceed the specified limit parameter, ensuring proper pagination behavior and API contract compliance.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 5cad2058-0277-4edb-b05b-9efb5efccd13 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:02 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 99 |
| x-ratelimit-reset | 1769721613 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"7d39-+rQ7kyHBCLIn9tjTeKVf4oegWkQ" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=us9YD7TGtcAGxHqgN69W%2FJm8Yagvi%2FB%2Bbih8NQ8Ob1bDcyOf9tTA8G4FcvCFsLeIjP%2BLI9Rf4WwdrQsC9dDuOy7IaSSRH39VtlhKUMofPkinKcyIEvRvY4s%3D"}]} |
| CF-RAY | 9c5bc571dbb40c5b-AMM |
{"carts":[{"id":1,"products":[{"id":168,"title":"Charger SXT RWD","price":32999.99,"quantity":3,"total":98999.97,"discountPercentage":13.39,"discountedTotal":85743.87,"thumbnail":"https://cdn.dummyjson.com/products/images/vehicle/Charger%20SXT%20RWD/thumbnail.png"},{"id":78,"title":"Apple MacBook Pro 14 Inch Space Grey","price":1999.99,"quantity":2,"total":3999.98,"discountPercentage":18.52,"discountedTotal":3259.18,"thumbnail":"https://cdn.dummyjson.com/products/images/laptops/Apple%20MacBook%20Pro%2014%20Inch%20Space%20Grey/thumbnail.png"},{"id":183,"title":"Green Oval Earring","price":24.99,"quantity":5,"total":124.94999999999999,"discountPercentage":6.28,"discountedTotal":117.1,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-jewellery/Green%20Oval%20Earring/thumbnail.png"},{"id":100,"title":"Apple Airpods","price":129.99,"quantity":5,"total":649.95,"discountPercentage":12.84,"discountedTotal":566.5,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Apple%20Airpods/thumbnail.png"}],"total":103774.85,"discountedTotal":89686.65,"userId":33,"totalProducts":4,"totalQuantity":15},{"id":2,"products":[{"id":144,"title":"Cricket Helmet","price":44.99,"quantity":4,"total":179.96,"discountPercentage":11.47,"discountedTotal":159.32,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Cricket%20Helmet/thumbnail.png"},{"id":124,"title":"iPhone X","price":899.99,"quantity":4,"total":3599.96,"discountPercentage":8.03,"discountedTotal":3310.88,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/iPhone%20X/thumbnail.png"},{"id":148,"title":"Golf Ball","price":9.99,"quantity":4,"total":39.96,"discountPercentage":11.24,"discountedTotal":35.47,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Golf%20Ball/thumbnail.png"},{"id":122,"title":"iPhone 6","price":299.99,"quantity":3,"total":899.97,"discountPercentage":19.64,"discountedTotal":723.22,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/iPhone%206/thumbnail.png"},{"id":110,"title":"Selfie Lamp with iPhone","price":14.99,"quantity":5,"total":74.95,"discountPercentage":19.87,"discountedTotal":60.06,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Selfie%20Lamp%20with%20iPhone/thumbnail.png"}],"total":4794.8,"discountedTotal":4288.95,"userId":142,"totalProducts":5,"totalQuantity":20},{"id":3,"products":[{"id":98,"title":"Rolex Submariner Watch","price":13999.99,"quantity":1,"total":13999.99,"discountPercentage":16.35,"discountedTotal":11710.99,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-watches/Rolex%20Submariner%20Watch/thumbnail.png"},{"id":125,"title":"Oppo A57","price":249.99,"quantity":5,"total":1249.95,"discountPercentage":16.54,"discountedTotal":1043.21,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Oppo%20A57/thumbnail.png"},{"id":55,"title":"Egg Slicer","price":6.99,"quantity":2,"total":13.98,"discountPercentage":16.04,"discountedTotal":11.74,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Egg%20Slicer/thumbnail.png"},{"id":62,"title":"Ice Cube Tray","price":5.99,"quantity":2,"total":11.98,"discountPercentage":8.25,"discountedTotal":10.99,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Ice%20Cube%20Tray/thumbnail.png"},{"id":132,"title":"Samsung Galaxy S8","price":499.99,"quantity":3,"total":1499.97,"discountPercentage":8.84,"discountedTotal":1367.37,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Samsung%20Galaxy%20S8/thumbnail.png"}],"total":16775.87,"discountedTotal":14144.3,"userId":108,"totalProducts":5,"totalQuantity":13},{"id":4,"products":[{"id":187,"title":"Golden Shoes Woman","price":49.99,"quantity":5,"total":249.95000000000002,"discountPercentage":1.64,"discountedTotal":245.85,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-shoes/Golden%20Shoes%20Woman/thumbnail.png"},{"id":40,"title":"Strawberry","price":3.99,"quantity":5,"total":19.950000000000003,"discountPercentage":4.6,"discountedTotal":19.03,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Strawberry/thumbnail.png"},{"id":156,"title":"Green and Black Glasses","price":34.99,"quantity":5,"total":174.95000000000002,"discountPercentage":4.34,"discountedTotal":167.36,"thumbnail":"https://cdn.dummyjson.com/products/images/sunglasses/Green%20and%20Black%20Glasses/thumbnail.png"},{"id":62,"title":"Ice Cube Tray","price":5.99,"quantity":2,"total":11.98,"discountPercentage":8.25,"discountedTotal":10.99,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Ice%20Cube%20Tray/thumbnail.png"}],"total":456.83,"discountedTotal":443.23,"userId":87,"totalProducts":4,"totalQuantity":17},{"id":5,"products":[{"id":108,"title":"iPhone 12 Silicone Case with MagSafe Plum","price":29.99,"quantity":2,"total":59.98,"discountPercentage":14.68,"discountedTotal":51.17,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/iPhone%2012%20Silicone%20Case%20with%20MagSafe%20Plum/thumbnail.png"},{"id":138,"title":"Baseball Ball","price":8.99,"quantity":5,"total":44.95,"discountPercentage":18.49,"discountedTotal":36.64,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Baseball%20Ball/thumbnail.png"},{"id":157,"title":"Party Glasses","price":19.99,"quantity":2,"total":39.98,"discountPercentage":19.17,"discountedTotal":32.32,"thumbnail":"https://cdn.dummyjson.com/products/images/sunglasses/Party%20Glasses/thumbnail.png"},{"id":8,"title":"Dior J'adore","price":89.99,"quantity":3,"total":269.96999999999997,"discountPercentage":10.79,"discountedTotal":240.84,"thumbnail":"https://cdn.dummyjson.com/products/images/fragrances/Dior%20J'adore/thumbnail.png"},{"id":80,"title":"Huawei Matebook X Pro","price":1399.99,"quantity":5,"total":6999.95,"discountPercentage":9.99,"discountedTotal":6300.65,"thumbnail":"https://cdn.dummyjson.com/products/images/laptops/Huawei%20Matebook%20X%20Pro/thumbnail.png"},{"id":28,"title":"Ice Cream","price":5.49,"quantity":3,"total":16.47,"discountPercentage":10,"discountedTotal":14.82,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Ice%20Cream/thumbnail.png"}],"total":7431.3,"discountedTotal":6676.44,"userId":134,"totalProducts":6,"totalQuantity":20},{"id":6,"products":[{"id":172,"title":"Blue Women's Handbag","price":49.99,"quantity":5,"total":249.95000000000002,"discountPercentage":8.08,"discountedTotal":229.75,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-bags/Blue%20Women's%20Handbag/thumbnail.png"},{"id":112,"title":"TV Studio Camera Pedestal","price":499.99,"quantity":3,"total":1499.97,"discountPercentage":15.69,"discountedTotal":1264.62,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/TV%20Studio%20Camera%20Pedestal/thumbnail.png"},{"id":97,"title":"Rolex Datejust","price":10999.99,"quantity":3,"total":32999.97,"discountPercentage":10.58,"discountedTotal":29508.57,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-watches/Rolex%20Datejust/thumbnail.png"},{"id":128,"title":"Realme C35","price":149.99,"quantity":3,"total":449.97,"discountPercentage":3.97,"discountedTotal":432.11,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Realme%20C35/thumbnail.png"}],"total":35199.86,"discountedTotal":31435.05,"userId":150,"totalProducts":4,"totalQuantity":14},{"id":7,"products":[{"id":167,"title":"300 Touring","price":28999.99,"quantity":5,"total":144999.95,"discountPercentage":11.78,"discountedTotal":127918.96,"thumbnail":"https://cdn.dummyjson.com/products/images/vehicle/300%20Touring/thumbnail.png"},{"id":111,"title":"Selfie Stick Monopod","price":12.99,"quantity":4,"total":51.96,"discountPercentage":10.98,"discountedTotal":46.25,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Selfie%20Stick%20Monopod/thumbnail.png"},{"id":129,"title":"Realme X","price":299.99,"quantity":2,"total":599.98,"discountPercentage":10.13,"discountedTotal":539.2,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Realme%20X/thumbnail.png"}],"total":145651.89,"discountedTotal":128504.41,"userId":86,"totalProducts":3,"totalQuantity":11},{"id":8,"products":[{"id":117,"title":"Sportbike Motorcycle","price":7499.99,"quantity":2,"total":14999.98,"discountPercentage":19.83,"discountedTotal":12025.48,"thumbnail":"https://cdn.dummyjson.com/products/images/motorcycle/Sportbike%20Motorcycle/thumbnail.png"},{"id":18,"title":"Cat Food","price":8.99,"quantity":4,"total":35.96,"discountPercentage":1.15,"discountedTotal":35.55,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Cat%20Food/thumbnail.png"},{"id":105,"title":"Apple MagSafe Battery Pack","price":99.99,"quantity":5,"total":499.95,"discountPercentage":7.14,"discountedTotal":464.25,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Apple%20MagSafe%20Battery%20Pack/thumbnail.png"},{"id":6,"title":"Calvin Klein CK One","price":49.99,"quantity":3,"total":149.97,"discountPercentage":5.67,"discountedTotal":141.47,"thumbnail":"https://cdn.dummyjson.com/products/images/fragrances/Calvin%20Klein%20CK%20One/thumbnail.png"}],"total":15685.86,"discountedTotal":12666.75,"userId":23,"totalProducts":4,"totalQuantity":14},{"id":9,"products":[{"id":178,"title":"Corset Leather With Skirt","price":89.99,"quantity":2,"total":179.98,"discountPercentage":12.59,"discountedTotal":157.32,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-dresses/Corset%20Leather%20With%20Skirt/thumbnail.png"},{"id":191,"title":"Rolex Cellini Moonphase","price":15999.99,"quantity":4,"total":63999.96,"discountPercentage":3.26,"discountedTotal":61913.56,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-watches/Rolex%20Cellini%20Moonphase/thumbnail.png"},{"id":47,"title":"Table Lamp","price":49.99,"quantity":2,"total":99.98,"discountPercentage":13.74,"discountedTotal":86.24,"thumbnail":"https://cdn.dummyjson.com/products/images/home-decoration/Table%20Lamp/thumbnail.png"},{"id":134,"title":"Vivo S1","price":249.99,"quantity":5,"total":1249.95,"discountPercentage":5.64,"discountedTotal":1179.45,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Vivo%20S1/thumbnail.png"}],"total":65529.87,"discountedTotal":63336.57,"userId":194,"totalProducts":4,"totalQuantity":13},{"id":10,"products":[{"id":190,"title":"IWC Ingenieur Automatic Steel","price":4999.99,"quantity":5,"total":24999.949999999997,"discountPercentage":12.34,"discountedTotal":21914.96,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-watches/IWC%20Ingenieur%20Automatic%20Steel/thumbnail.png"},{"id":94,"title":"Longines Master Collection","price":1499.99,"quantity":3,"total":4499.97,"discountPercentage":16.44,"discountedTotal":3760.17,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-watches/Longines%20Master%20Collection/thumbnail.png"}],"total":29499.92,"discountedTotal":25675.13,"userId":160,"totalProducts":2,"totalQuantity":8},{"id":11,"products":[{"id":88,"title":"Nike Air Jordan 1 Red And Black","price":149.99,"quantity":1,"total":149.99,"discountPercentage":17.18,"discountedTotal":124.22,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-shoes/Nike%20Air%20Jordan%201%20Red%20And%20Black/thumbnail.png"},{"id":32,"title":"Milk","price":3.49,"quantity":3,"total":10.47,"discountPercentage":9.36,"discountedTotal":9.49,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Milk/thumbnail.png"},{"id":74,"title":"Spoon","price":4.99,"quantity":3,"total":14.97,"discountPercentage":2.78,"discountedTotal":14.55,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Spoon/thumbnail.png"},{"id":145,"title":"Cricket Wicket","price":29.99,"quantity":3,"total":89.97,"discountPercentage":17.87,"discountedTotal":73.89,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Cricket%20Wicket/thumbnail.png"},{"id":26,"title":"Green Chili Pepper","price":0.99,"quantity":3,"total":2.9699999999999998,"discountPercentage":18.69,"discountedTotal":2.41,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Green%20Chili%20Pepper/thumbnail.png"},{"id":127,"title":"Oppo K1","price":299.99,"quantity":1,"total":299.99,"discountPercentage":15.93,"discountedTotal":252.2,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Oppo%20K1/thumbnail.png"}],"total":568.36,"discountedTotal":476.76,"userId":172,"totalProducts":6,"totalQuantity":14},{"id":12,"products":[{"id":63,"title":"Kitchen Sieve","price":7.99,"quantity":4,"total":31.96,"discountPercentage":18.8,"discountedTotal":25.95,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Kitchen%20Sieve/thumbnail.png"},{"id":181,"title":"Marni Red & Black Suit","price":179.99,"quantity":5,"total":899.95,"discountPercentage":14.21,"discountedTotal":772.07,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-dresses/Marni%20Red%20&%20Black%20Suit/thumbnail.png"}],"total":931.91,"discountedTotal":798.02,"userId":202,"totalProducts":2,"totalQuantity":9},{"id":13,"products":[{"id":85,"title":"Man Plaid Shirt","price":34.99,"quantity":2,"total":69.98,"discountPercentage":3.7,"discountedTotal":67.39,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-shirts/Man%20Plaid%20Shirt/thumbnail.png"},{"id":109,"title":"Monopod","price":19.99,"quantity":3,"total":59.97,"discountPercentage":12.95,"discountedTotal":52.2,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Monopod/thumbnail.png"},{"id":160,"title":"Samsung Galaxy Tab S8 Plus Grey","price":599.99,"quantity":1,"total":599.99,"discountPercentage":4.31,"discountedTotal":574.13,"thumbnail":"https://cdn.dummyjson.com/products/images/tablets/Samsung%20Galaxy%20Tab%20S8%20Plus%20Grey/thumbnail.png"},{"id":163,"title":"Girl Summer Dress","price":19.99,"quantity":3,"total":59.97,"discountPercentage":9.44,"discountedTotal":54.31,"thumbnail":"https://cdn.dummyjson.com/products/images/tops/Girl%20Summer%20Dress/thumbnail.png"},{"id":31,"title":"Lemon","price":0.79,"quantity":4,"total":3.16,"discountPercentage":12.32,"discountedTotal":2.77,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Lemon/thumbnail.png"}],"total":793.07,"discountedTotal":750.8,"userId":41,"totalProducts":5,"totalQuantity":13},{"id":14,"products":[{"id":92,"title":"Sports Sneakers Off White Red","price":109.99,"quantity":3,"total":329.96999999999997,"discountPercentage":17.73,"discountedTotal":271.47,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-shoes/Sports%20Sneakers%20Off%20White%20Red/thumbnail.png"},{"id":54,"title":"Citrus Squeezer Yellow","price":8.99,"quantity":5,"total":44.95,"discountPercentage":6.3,"discountedTotal":42.12,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Citrus%20Squeezer%20Yellow/thumbnail.png"},{"id":76,"title":"Wooden Rolling Pin","price":11.99,"quantity":1,"total":11.99,"discountPercentage":8.45,"discountedTotal":10.98,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Wooden%20Rolling%20Pin/thumbnail.png"},{"id":44,"title":"Family Tree Photo Frame","price":29.99,"quantity":5,"total":149.95,"discountPercentage":10.68,"discountedTotal":133.94,"thumbnail":"https://cdn.dummyjson.com/products/images/home-decoration/Family%20Tree%20Photo%20Frame/thumbnail.png"},{"id":67,"title":"Mug Tree Stand","price":15.99,"quantity":3,"total":47.97,"discountPercentage":16.65,"discountedTotal":39.98,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Mug%20Tree%20Stand/thumbnail.png"},{"id":16,"title":"Apple","price":1.99,"quantity":1,"total":1.99,"discountPercentage":11.74,"discountedTotal":1.76,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Apple/thumbnail.png"}],"total":586.82,"discountedTotal":500.25,"userId":94,"totalProducts":6,"totalQuantity":18},{"id":15,"products":[{"id":11,"title":"Annibale Colombo Bed","price":1899.99,"quantity":5,"total":9499.95,"discountPercentage":8.09,"discountedTotal":8731.4,"thumbnail":"https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Bed/thumbnail.png"},{"id":133,"title":"Samsung Galaxy S10","price":699.99,"quantity":3,"total":2099.9700000000003,"discountPercentage":1.12,"discountedTotal":2076.45,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Samsung%20Galaxy%20S10/thumbnail.png"},{"id":111,"title":"Selfie Stick Monopod","price":12.99,"quantity":3,"total":38.97,"discountPercentage":10.98,"discountedTotal":34.69,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Selfie%20Stick%20Monopod/thumbnail.png"},{"id":162,"title":"Blue Frock","price":29.99,"quantity":3,"total":89.97,"discountPercentage":3.86,"discountedTotal":86.5,"thumbnail":"https://cdn.dummyjson.com/products/images/tops/Blue%20Frock/thumbnail.png"},{"id":30,"title":"Kiwi","price":2.49,"quantity":5,"total":12.450000000000001,"discountPercentage":4.34,"discountedTotal":11.91,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Kiwi/thumbnail.png"}],"total":11741.31,"discountedTotal":10940.95,"userId":11,"totalProducts":5,"totalQuantity":19},{"id":16,"products":[{"id":19,"title":"Chicken Meat","price":9.99,"quantity":2,"total":19.98,"discountPercentage":13.37,"discountedTotal":17.31,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Chicken%20Meat/thumbnail.png"},{"id":152,"title":"Tennis Racket","price":49.99,"quantity":3,"total":149.97,"discountPercentage":9.13,"discountedTotal":136.28,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Tennis%20Racket/thumbnail.png"},{"id":35,"title":"Potatoes","price":2.29,"quantity":1,"total":2.29,"discountPercentage":1.69,"discountedTotal":2.25,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Potatoes/thumbnail.png"}],"total":172.24,"discountedTotal":155.84,"userId":200,"totalProducts":3,"totalQuantity":6},{"id":17,"products":[{"id":1,"title":"Essence Mascara Lash Princess","price":9.99,"quantity":2,"total":19.98,"discountPercentage":0.63,"discountedTotal":19.85,"thumbnail":"https://cdn.dummyjson.com/products/images/beauty/Essence%20Mascara%20Lash%20Princess/thumbnail.png"},{"id":60,"title":"Grater Black","price":10.99,"quantity":3,"total":32.97,"discountPercentage":16.62,"discountedTotal":27.49,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Grater%20Black/thumbnail.png"},{"id":74,"title":"Spoon","price":4.99,"quantity":4,"total":19.96,"discountPercentage":2.78,"discountedTotal":19.41,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Spoon/thumbnail.png"},{"id":44,"title":"Family Tree Photo Frame","price":29.99,"quantity":4,"total":119.96,"discountPercentage":10.68,"discountedTotal":107.15,"thumbnail":"https://cdn.dummyjson.com/products/images/home-decoration/Family%20Tree%20Photo%20Frame/thumbnail.png"}],"total":192.87,"discountedTotal":173.9,"userId":141,"totalProducts":4,"totalQuantity":13},{"id":18,"products":[{"id":127,"title":"Oppo K1","price":299.99,"quantity":4,"total":1199.96,"discountPercentage":15.93,"discountedTotal":1008.81,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Oppo%20K1/thumbnail.png"},{"id":24,"title":"Fish Steak","price":14.99,"quantity":3,"total":44.97,"discountPercentage":7.66,"discountedTotal":41.53,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Fish%20Steak/thumbnail.png"},{"id":20,"title":"Cooking Oil","price":4.99,"quantity":5,"total":24.950000000000003,"discountPercentage":12.62,"discountedTotal":21.8,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Cooking%20Oil/thumbnail.png"},{"id":154,"title":"Black Sun Glasses","price":29.99,"quantity":3,"total":89.97,"discountPercentage":1.11,"discountedTotal":88.97,"thumbnail":"https://cdn.dummyjson.com/products/images/sunglasses/Black%20Sun%20Glasses/thumbnail.png"},{"id":44,"title":"Family Tree Photo Frame","price":29.99,"quantity":2,"total":59.98,"discountPercentage":10.68,"discountedTotal":53.57,"thumbnail":"https://cdn.dummyjson.com/products/images/home-decoration/Family%20Tree%20Photo%20Frame/thumbnail.png"},{"id":5,"title":"Red Nail Polish","price":8.99,"quantity":5,"total":44.95,"discountPercentage":3.76,"discountedTotal":43.26,"thumbnail":"https://cdn.dummyjson.com/products/images/beauty/Red%20Nail%20Polish/thumbnail.png"}],"total":1464.78,"discountedTotal":1257.94,"userId":189,"totalProducts":6,"totalQuantity":22},{"id":19,"products":[{"id":187,"title":"Golden Shoes Woman","price":49.99,"quantity":3,"total":149.97,"discountPercentage":1.64,"discountedTotal":147.51,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-shoes/Golden%20Shoes%20Woman/thumbnail.png"},{"id":153,"title":"Volleyball","price":11.99,"quantity":5,"total":59.95,"discountPercentage":16.05,"discountedTotal":50.33,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Volleyball/thumbnail.png"},{"id":34,"title":"Nescafe Coffee","price":7.99,"quantity":3,"total":23.97,"discountPercentage":8.31,"discountedTotal":21.98,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Nescafe%20Coffee/thumbnail.png"},{"id":130,"title":"Realme XT","price":349.99,"quantity":2,"total":699.98,"discountPercentage":17.86,"discountedTotal":574.96,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Realme%20XT/thumbnail.png"}],"total":933.87,"discountedTotal":794.78,"userId":59,"totalProducts":4,"totalQuantity":13},{"id":20,"products":[{"id":107,"title":"Beats Flex Wireless Earphones","price":49.99,"quantity":1,"total":49.99,"discountPercentage":8.79,"discountedTotal":45.6,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Beats%20Flex%20Wireless%20Earphones/thumbnail.png"},{"id":193,"title":"Watch Gold for Women","price":799.99,"quantity":3,"total":2399.9700000000003,"discountPercentage":19.53,"discountedTotal":1931.26,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-watches/Watch%20Gold%20for%20Women/thumbnail.png"},{"id":100,"title":"Apple Airpods","price":129.99,"quantity":3,"total":389.97,"discountPercentage":12.84,"discountedTotal":339.9,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Apple%20Airpods/thumbnail.png"},{"id":90,"title":"Puma Future Rider Trainers","price":89.99,"quantity":5,"total":449.95,"discountPercentage":14.7,"discountedTotal":383.81,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-shoes/Puma%20Future%20Rider%20Trainers/thumbnail.png"},{"id":118,"title":"Attitude Super Leaves Hand Soap","price":8.99,"quantity":5,"total":44.95,"discountPercentage":7.23,"discountedTotal":41.7,"thumbnail":"https://cdn.dummyjson.com/products/images/skin-care/Attitude%20Super%20Leaves%20Hand%20Soap/thumbnail.png"},{"id":166,"title":"Tartan Dress","price":39.99,"quantity":5,"total":199.95000000000002,"discountPercentage":2.82,"discountedTotal":194.31,"thumbnail":"https://cdn.dummyjson.com/products/images/tops/Tartan%20Dress/thumbnail.png"}],"total":3534.78,"discountedTotal":2936.58,"userId":90,"totalProducts":6,"totalQuantity":22},{"id":21,"products":[{"id":77,"title":"Yellow Peeler","price":5.99,"quantity":2,"total":11.98,"discountPercentage":13.16,"discountedTotal":10.4,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Yellow%20Peeler/thumbnail.png"},{"id":91,"title":"Sports Sneakers Off White & Red","price":119.99,"quantity":2,"total":239.98,"discountPercentage":1.96,"discountedTotal":235.28,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-shoes/Sports%20Sneakers%20Off%20White%20&%20Red/thumbnail.png"}],"total":251.96,"discountedTotal":245.68,"userId":42,"totalProducts":2,"totalQuantity":4},{"id":22,"products":[{"id":73,"title":"Spice Rack","price":19.99,"quantity":5,"total":99.94999999999999,"discountPercentage":8.74,"discountedTotal":91.21,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Spice%20Rack/thumbnail.png"},{"id":2,"title":"Eyeshadow Palette with Mirror","price":19.99,"quantity":2,"total":39.98,"discountPercentage":0.7,"discountedTotal":39.7,"thumbnail":"https://cdn.dummyjson.com/products/images/beauty/Eyeshadow%20Palette%20with%20Mirror/thumbnail.png"},{"id":69,"title":"Plate","price":3.99,"quantity":2,"total":7.98,"discountPercentage":16,"discountedTotal":6.7,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Plate/thumbnail.png"},{"id":155,"title":"Classic Sun Glasses","price":24.99,"quantity":3,"total":74.97,"discountPercentage":9.27,"discountedTotal":68.02,"thumbnail":"https://cdn.dummyjson.com/products/images/sunglasses/Classic%20Sun%20Glasses/thumbnail.png"}],"total":222.88,"discountedTotal":205.63,"userId":140,"totalProducts":4,"totalQuantity":12},{"id":23,"products":[{"id":82,"title":"New DELL XPS 13 9300 Laptop","price":1499.99,"quantity":5,"total":7499.95,"discountPercentage":3.9,"discountedTotal":7207.45,"thumbnail":"https://cdn.dummyjson.com/products/images/laptops/New%20DELL%20XPS%2013%209300%20Laptop/thumbnail.png"},{"id":172,"title":"Blue Women's Handbag","price":49.99,"quantity":4,"total":199.96,"discountPercentage":8.08,"discountedTotal":183.8,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-bags/Blue%20Women's%20Handbag/thumbnail.png"},{"id":41,"title":"Tissue Paper Box","price":2.49,"quantity":2,"total":4.98,"discountPercentage":2.74,"discountedTotal":4.84,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Tissue%20Paper%20Box/thumbnail.png"},{"id":37,"title":"Red Onions","price":1.99,"quantity":4,"total":7.96,"discountPercentage":8.95,"discountedTotal":7.25,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Red%20Onions/thumbnail.png"},{"id":138,"title":"Baseball Ball","price":8.99,"quantity":5,"total":44.95,"discountPercentage":18.49,"discountedTotal":36.64,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Baseball%20Ball/thumbnail.png"}],"total":7757.8,"discountedTotal":7439.98,"userId":147,"totalProducts":5,"totalQuantity":20},{"id":24,"products":[{"id":108,"title":"iPhone 12 Silicone Case with MagSafe Plum","price":29.99,"quantity":5,"total":149.95,"discountPercentage":14.68,"discountedTotal":127.94,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/iPhone%2012%20Silicone%20Case%20with%20MagSafe%20Plum/thumbnail.png"},{"id":134,"title":"Vivo S1","price":249.99,"quantity":4,"total":999.96,"discountPercentage":5.64,"discountedTotal":943.56,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Vivo%20S1/thumbnail.png"},{"id":174,"title":"Prada Women Bag","price":599.99,"quantity":1,"total":599.99,"discountPercentage":12.86,"discountedTotal":522.83,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-bags/Prada%20Women%20Bag/thumbnail.png"}],"total":1749.9,"discountedTotal":1594.33,"userId":6,"totalProducts":3,"totalQuantity":10},{"id":25,"products":[{"id":4,"title":"Red Lipstick","price":12.99,"quantity":1,"total":12.99,"discountPercentage":14.69,"discountedTotal":11.08,"thumbnail":"https://cdn.dummyjson.com/products/images/beauty/Red%20Lipstick/thumbnail.png"},{"id":126,"title":"Oppo F19 Pro+","price":399.99,"quantity":1,"total":399.99,"discountPercentage":14.38,"discountedTotal":342.47,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Oppo%20F19%20Pro+/thumbnail.png"}],"total":412.98,"discountedTotal":353.55,"userId":118,"totalProducts":2,"totalQuantity":2},{"id":26,"products":[{"id":37,"title":"Red Onions","price":1.99,"quantity":5,"total":9.95,"discountPercentage":8.95,"discountedTotal":9.06,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Red%20Onions/thumbnail.png"},{"id":128,"title":"Realme C35","price":149.99,"quantity":3,"total":449.97,"discountPercentage":3.97,"discountedTotal":432.11,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Realme%20C35/thumbnail.png"}],"total":459.92,"discountedTotal":441.17,"userId":66,"totalProducts":2,"totalQuantity":8},{"id":27,"products":[{"id":33,"title":"Mulberry","price":4.99,"quantity":1,"total":4.99,"discountPercentage":2.75,"discountedTotal":4.85,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Mulberry/thumbnail.png"},{"id":110,"title":"Selfie Lamp with iPhone","price":14.99,"quantity":2,"total":29.98,"discountPercentage":19.87,"discountedTotal":24.02,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Selfie%20Lamp%20with%20iPhone/thumbnail.png"},{"id":16,"title":"Apple","price":1.99,"quantity":3,"total":5.97,"discountPercentage":11.74,"discountedTotal":5.27,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Apple/thumbnail.png"},{"id":83,"title":"Blue & Black Check Shirt","price":29.99,"quantity":5,"total":149.95,"discountPercentage":8.76,"discountedTotal":136.81,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-shirts/Blue%20&%20Black%20Check%20Shirt/thumbnail.png"}],"total":190.89,"discountedTotal":170.95,"userId":75,"totalProducts":4,"totalQuantity":11},{"id":28,"products":[{"id":1,"title":"Essence Mascara Lash Princess","price":9.99,"quantity":5,"total":49.95,"discountPercentage":0.63,"discountedTotal":49.64,"thumbnail":"https://cdn.dummyjson.com/products/images/beauty/Essence%20Mascara%20Lash%20Princess/thumbnail.png"},{"id":141,"title":"Basketball Rim","price":39.99,"quantity":4,"total":159.96,"discountPercentage":14.7,"discountedTotal":136.45,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Basketball%20Rim/thumbnail.png"}],"total":209.91,"discountedTotal":186.09,"userId":147,"totalProducts":2,"totalQuantity":9},{"id":29,"products":[{"id":80,"title":"Huawei Matebook X Pro","price":1399.99,"quantity":2,"total":2799.98,"discountPercentage":9.99,"discountedTotal":2520.26,"thumbnail":"https://cdn.dummyjson.com/products/images/laptops/Huawei%20Matebook%20X%20Pro/thumbnail.png"},{"id":107,"title":"Beats Flex Wireless Earphones","price":49.99,"quantity":4,"total":199.96,"discountPercentage":8.79,"discountedTotal":182.38,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Beats%20Flex%20Wireless%20Earphones/thumbnail.png"},{"id":25,"title":"Green Bell Pepper","price":1.29,"quantity":2,"total":2.58,"discountPercentage":1.2,"discountedTotal":2.55,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Green%20Bell%20Pepper/thumbnail.png"},{"id":121,"title":"iPhone 5s","price":199.99,"quantity":4,"total":799.96,"discountPercentage":8.38,"discountedTotal":732.92,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/iPhone%205s/thumbnail.png"},{"id":153,"title":"Volleyball","price":11.99,"quantity":5,"total":59.95,"discountPercentage":16.05,"discountedTotal":50.33,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Volleyball/thumbnail.png"}],"total":3862.43,"discountedTotal":3488.44,"userId":170,"totalProducts":5,"totalQuantity":17},{"id":30,"products":[{"id":181,"title":"Marni Red & Black Suit","price":179.99,"quantity":1,"total":179.99,"discountPercentage":14.21,"discountedTotal":154.41,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-dresses/Marni%20Red%20&%20Black%20Suit/thumbnail.png"},{"id":171,"title":"Pacifica Touring","price":31999.99,"quantity":4,"total":127999.96,"discountPercentage":7.4,"discountedTotal":118527.96,"thumbnail":"https://cdn.dummyjson.com/products/images/vehicle/Pacifica%20Touring/thumbnail.png"},{"id":35,"title":"Potatoes","price":2.29,"quantity":4,"total":9.16,"discountPercentage":1.69,"discountedTotal":9.01,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Potatoes/thumbnail.png"},{"id":46,"title":"Plant Pot","price":14.99,"quantity":4,"total":59.96,"discountPercentage":17.65,"discountedTotal":49.38,"thumbnail":"https://cdn.dummyjson.com/products/images/home-decoration/Plant%20Pot/thumbnail.png"}],"total":128249.07,"discountedTotal":118740.76,"userId":177,"totalProducts":4,"totalQuantity":13}],"total":50,"skip":0,"limit":30}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000 ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body contains cart array | 1 | 0 | 0 |
| cart list is not empty | 1 | 0 | 0 |
| each cart contains required fields | 1 | 0 | 0 |
| each cart contains fields with correct data types | 1 | 0 | 0 |
| each cart product array is not empty | 1 | 0 | 0 |
| cart products contain required fields | 1 | 0 | 0 |
| response body contains pagination fields | 1 | 0 | 0 |
| carts count does not exceed limit | 1 | 0 | 0 |
| Total | 11 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Cart-By ID
## Overview
This endpoint retrieves a specific shopping cart by its unique ID from the DummyJSON API. It provides detailed information about a single cart including all products, pricing, discounts, and user association.
## Purpose
The primary purpose of this request is to fetch a specific cart's complete details. This is useful for:
- Viewing detailed information about a specific cart
- Retrieving cart data for a particular user session
- Testing cart retrieval by ID functionality
- Validating individual cart data structure and integrity
## Expected Behaviour
When this request is executed successfully with a valid cart ID, it returns a JSON response containing the complete cart object with all associated products, totals, and user information.
## Request Details
**HTTP Method:** `GET`
**Endpoint URL:** `https://dummyjson.com/carts/1`
**Headers:** None required
**Query Parameters:** None
**Path Variables:**
- `cart_id` - The unique identifier of the cart to retrieve
**Authentication:** None required for this endpoint
## Variables Used
| Variable | Description | Example Value |
| --- | --- | --- |
| `baseUrl` | The base URL for the DummyJSON API | `https://dummyjson.com` |
| `cart_id` | The unique identifier of the cart to retrieve | `1` |
Both variables are defined in the active environment. The `cart_id` variable should be set to the ID of the cart you want to retrieve.
## Response Details
The response returns a JSON object with the following structure:
``` json
{
"id": number,
"products": [
{
"id": number,
"title": string,
"price": number,
"quantity": number,
"total": number,
"discountPercentage": number,
"discountedPrice": number
}
],
"total": number,
"discountedTotal": number,
"userId": number,
"totalProducts": number,
"totalQuantity": number
}
```
**Response Fields:**
- `id` (number): Unique identifier for the cart
- `products` (array): Array of product objects in the cart
- `id` (number): Product ID
- `title` (string): Product name
- `price` (number): Product price
- `quantity` (number): Quantity of this product in cart
- `total` (number): Total price before discounts
- `discountedTotal` (number): Total price after applying discounts
- `userId` (number): ID of the user who owns the cart
- `totalProducts` (number): Total number of unique products in the cart
- `totalQuantity` (number): Total quantity of all products in the cart
## Test Validations
This request includes comprehensive automated test validations to ensure the API response meets expected standards. All tests are executed automatically after receiving the response.
### 1\. Status Code Validation
**Test:** Status code is 200
**Validates:** The API successfully processes the request and returns an HTTP 200 OK status code, indicating successful retrieval of the specific cart data.
### 2\. Response Time Performance
**Test:** Response time is less than 2000ms
**Validates:** The API responds within acceptable performance thresholds (under 2 seconds), ensuring good user experience and system responsiveness.
### 3\. Content-Type Header Validation
**Test:** Response Content-type is application/json
**Validates:** The response is returned in JSON format as expected, with the correct Content-Type header set to application/json.
### 4\. Response Body Structure
**Test:** response body is json object
**Validates:** The response body is a valid JSON object, confirming the correct response structure and format.
### 5\. Cart Object Required Fields
**Test:** response body contains required fields
**Validates:** The cart object contains all mandatory fields: `id`, `products`, `total`, `discountedTotal`, `userId`, `totalProducts`, and `totalQuantity`.
### 6\. Cart Object Data Type Validation
**Test:** response body contains required fields with correct data type
**Validates:** All cart fields have the correct data types - `id`, `total`, `discountedTotal`, `userId`, `totalProducts`, and `totalQuantity` are numbers, and `products` is an array.
### 7\. Product Object Required Fields
**Test:** each product in the cart contains required fields
**Validates:** Each product within the cart contains all necessary fields including `id`, `title`, `price`, and `quantity`, ensuring complete product information.
### 8\. Cart ID Match Validation
**Test:** returned cart id matches requested cart id
**Validates:** The cart ID in the response matches the cart ID that was requested in the URL path variable, confirming that the correct cart was retrieved.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | bf832a51-8fe5-4670-880e-581cb55abd72 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:03 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 98 |
| x-ratelimit-reset | 1769721613 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"461-cWRWYNLFxfrc4fzJ3x6dAiWgKps" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=ERZn4OXZczVI1Mm8Uah2qxCDhDjygwBXMkovoKm7%2FAZ60okkvhfArUoghosnTxj4%2BSw02o0mN86pQXAgNrvvRBcf2Gk%2Bn69eICXOw%2FsJ4CplzOa%2FkXKDC6A%3D"}]} |
| CF-RAY | 9c5bc57398d30c5b-AMM |
{"id":1,"products":[{"id":168,"title":"Charger SXT RWD","price":32999.99,"quantity":3,"total":98999.97,"discountPercentage":13.39,"discountedTotal":85743.87,"thumbnail":"https://cdn.dummyjson.com/products/images/vehicle/Charger%20SXT%20RWD/thumbnail.png"},{"id":78,"title":"Apple MacBook Pro 14 Inch Space Grey","price":1999.99,"quantity":2,"total":3999.98,"discountPercentage":18.52,"discountedTotal":3259.18,"thumbnail":"https://cdn.dummyjson.com/products/images/laptops/Apple%20MacBook%20Pro%2014%20Inch%20Space%20Grey/thumbnail.png"},{"id":183,"title":"Green Oval Earring","price":24.99,"quantity":5,"total":124.94999999999999,"discountPercentage":6.28,"discountedTotal":117.1,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-jewellery/Green%20Oval%20Earring/thumbnail.png"},{"id":100,"title":"Apple Airpods","price":129.99,"quantity":5,"total":649.95,"discountPercentage":12.84,"discountedTotal":566.5,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Apple%20Airpods/thumbnail.png"}],"total":103774.85,"discountedTotal":89686.65,"userId":33,"totalProducts":4,"totalQuantity":15}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body contains required fields | 1 | 0 | 0 |
| response body contains required fields with correct data type | 1 | 0 | 0 |
| each product in the cart contains required fields | 1 | 0 | 0 |
| returned cart id matches requested cart id | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Carts-By User ID
## Overview
This endpoint retrieves all shopping carts associated with a specific user from the DummyJSON API. It returns a comprehensive list of carts including product details, pricing information, and cart totals.
## Purpose
To fetch and validate all cart data for a given user ID, ensuring data integrity and proper API response structure. This endpoint is essential for user cart management and order processing workflows.
## Expected Behaviour
When a valid user ID is provided, the API returns all carts belonging to that user with complete cart and product information. The response includes cart totals, discounts, and detailed product information for each item in the carts.
## Request Details
**HTTP Method:** `GET`
**URL:** `https://dummyjson.com/carts/user/6`
**Headers:** None specified
**Query Parameters:** None
**Path Variables:**
- `user_id` - The unique identifier of the user whose carts are being retrieved
**Authentication:** None specified
## Variables Used
- **`baseUrl`** - The base URL for the DummyJSON API endpoint (e.g., https://dummyjson.com)
- **`user_id`** - The unique identifier of the user whose cart information is being requested
## Response Details
The API returns a JSON object with the following structure:
**Response Object:**
- `carts` (array) - Array containing all carts for the specified user
**Each Cart Object Contains:**
- `id` - Unique cart identifier
- `products` - Array of products in the cart
- `total` - Total cart value before discounts
- `discountedTotal` - Total cart value after discounts
- `userId` - User ID associated with the cart
- `totalProducts` - Total number of unique products
- `totalQuantity` - Total quantity of all items
**Each Product Object Contains:**
- `id` - Product identifier
- `quantity` - Quantity of the product in cart
- `price` - Price of the product
## Test Validations
This request includes 7 comprehensive test assertions to ensure API reliability and data integrity:
1. **Status Code Validation** - Verifies the response status code is 200 (OK)
2. **Response Time Performance** - Ensures the response time is less than 2000ms for optimal performance
3. **Content-Type Validation** - Confirms the response Content-Type header is "application/json"
4. **Response Structure Validation** - Verifies the response body contains the "carts" property as an array
5. **User ID Matching** - Validates that all returned carts belong to the requested user ID
6. **Cart Fields Validation** - Ensures each cart contains all required fields: id, products, total, discountedTotal, userId, totalProducts, and totalQuantity
7. **Product Fields Validation** - Confirms each product within the carts contains the required fields: id, quantity, and price
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ee62799d-17fe-4bff-b6ed-fed63fc26659 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:03 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 93 |
| x-ratelimit-reset | 1769721607 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"385-ITR3LUmAAhlOUYo0SP5jQkppvNY" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=DD3Q0usdc70iyAzeg1ucEQsFDc4bw2UQAeS1NcI42UwCx9%2BzA0S4pgLF7%2B2cKNFu0%2Fjj7Lb48WzPdUQbR5%2FYyfE5oqcSBe3ivd4rCStsyxdKZlLlIKkZbxE%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc574fcc40c5b-AMM |
{"carts":[{"id":24,"products":[{"id":108,"title":"iPhone 12 Silicone Case with MagSafe Plum","price":29.99,"quantity":5,"total":149.95,"discountPercentage":14.68,"discountedTotal":127.94,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/iPhone%2012%20Silicone%20Case%20with%20MagSafe%20Plum/thumbnail.png"},{"id":134,"title":"Vivo S1","price":249.99,"quantity":4,"total":999.96,"discountPercentage":5.64,"discountedTotal":943.56,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Vivo%20S1/thumbnail.png"},{"id":174,"title":"Prada Women Bag","price":599.99,"quantity":1,"total":599.99,"discountPercentage":12.86,"discountedTotal":522.83,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-bags/Prada%20Women%20Bag/thumbnail.png"}],"total":1749.9,"discountedTotal":1594.33,"userId":6,"totalProducts":3,"totalQuantity":10}],"total":1,"skip":0,"limit":1}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body conatins cart array | 1 | 0 | 0 |
| returned carts belong to the requested user id | 1 | 0 | 0 |
| each cart contains required fields | 1 | 0 | 0 |
| cart products contain required fields | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Data Driven Add New Cart (Happy+ Negative)
## Overview
This is a data-driven test request that validates the cart creation functionality of the DummyJSON API. It supports both positive (happy path) and negative test scenarios by accepting expected status codes from a CSV data file, allowing comprehensive testing of the "Add New Cart" endpoint with various input combinations.
## Expected Behaviour
When executed as part of a collection run with a CSV data file:
- **Happy Path (201)**: Successfully creates a new cart with the provided user ID and products, returning complete cart details including calculated totals and discounts
- **Negative Scenarios (4xx)**: Returns appropriate error responses when invalid data is provided (e.g., empty user ID, invalid products)
The request validates the response against the expected status code from the CSV file and performs comprehensive assertions on successful responses.
## Request Details
**Method:** `POST`
**URL:** `https://dummyjson.com/carts/add`
**Headers:**
- Content-Type: application/json (automatically set for raw JSON body)
**Body Structure (raw JSON):**
``` json
{
"userId": "",
"products": [
{ "id": 3, "quantity": 2 },
{ "id": 2, "quantity": 1 }
]
}
```
The body uses variables that should be populated from a CSV data file during collection runs, allowing different test scenarios to be executed with varying user IDs and product configurations.
## Variables Used
| Variable | Description | Example Value |
| --- | --- | --- |
| `https://dummyjson.com` | Base URL of the DummyJSON API | `https://dummyjson.com` |
| `""` | The ID of the user creating the cart | `1` |
| `[
{ "id": 3, "quantity": 2 },
{ "id": 2, "quantity": 1 }
]` | Array of product objects with id and quantity | `[{"id": 1, "quantity": 2}]` |
**Note:** The CSV data file should also include an `expected_status_add_cart` column to specify the expected HTTP status code for each test scenario.
## Response Details
### Successful Response (Status 201)
**Response Structure:**
``` json
{
"id": number,
"products": array,
"total": number,
"discountedTotal": number,
"userId": number,
"totalProducts": number,
"totalQuantity": number
}
```
**Field Descriptions:**
| Field | Type | Description |
| --- | --- | --- |
| `id` | number | Unique identifier for the created cart |
| `products` | array | Array of product objects added to the cart |
| `total` | number | Total price before discounts |
| `discountedTotal` | number | Total price after applying discounts |
| `userId` | number | ID of the user who owns the cart |
| `totalProducts` | number | Total number of distinct products in the cart |
| `totalQuantity` | number | Total quantity of all products combined |
### Error Response (Status 4xx)
Error responses will vary based on the validation failure but typically include error messages describing what went wrong.
## Test Validations
This request includes comprehensive test validations in the post-response script:
### 1\. **Status Code Validation**
- Validates that the response status code matches the expected value from the CSV data file
- Test: `"Status code matches expected value from CSV"`
### For Successful Responses (Status 201):
### 2\. **Performance Validation**
- Ensures the API responds within acceptable time limits
- Test: `"Response time is less than 2000ms"`
- Assertion: Response time must be below 2000 milliseconds
### 3\. **Content-Type Validation**
- Verifies the response returns JSON format
- Test: `"response Content-Type is application/json"`
- Assertion: Content-Type header includes "application/json"
### 4\. **Response Structure Validation**
- Confirms the response contains all required fields
- Test: `"Response body has the correct structure"`
- Assertion: Response must have keys: `id`, `products`, `total`, `discountedTotal`, `userId`, `totalProducts`, `totalQuantity`
### 5\. **Data Type Validation**
- Validates that each field has the correct data type
- Test: `"Response body fields have the correct data types"`
- Assertions:
- `id` must be a number
- `products` must be an array
- `total` must be a number
- `discountedTotal` must be a number
- `userId` must be a number
- `totalProducts` must be a number
- `totalQuantity` must be a number
### 6\. **Product Array Validation**
- Ensures the products array is not empty
- Test: `"Product array is not empty"`
- Assertion: Products array length must be greater than 0
### 7\. **User ID Validation**
- Verifies the returned cart belongs to the correct user
- Test: `"The returned cart belong to the same requested user id"`
- Assertion: Response `userId` matches the requested `userId` from the request body
---
**Usage Note:** This request is designed to be run with a CSV data file containing multiple test scenarios. Each row in the CSV should include `userId`, `products`, and `expected_status_add_cart` values to enable data-driven testing of both successful and error scenarios.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 652215de-ee36-47d0-816b-486276b641f7 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 109 |
{
"userId": "",
"products": [
{ "id": 3, "quantity": 2 },
{ "id": 2, "quantity": 1 }
]
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:03 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 33 |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 97 |
| x-ratelimit-reset | 1769721613 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"21-9Tnvknh4Qjxdm7i37qdqaZEPeMU" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=eRl%2Bi%2FwhwQdXIEJx6hyGyo785%2BgOEk%2FQPVNJEqrk2is81pHw62nA20pUE%2FcT78stc38HeJ0hA3P5SCBFKdbHalVwjPeL%2F54G3bKegk27Ry9YxwuRDojB5q8%3D"}]} |
| CF-RAY | 9c5bc57698800c5b-AMM |
{"message":"User id is required"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code matches expected value from CSV | 1 | 0 | 0 |
| Response body contains error message | 1 | 0 | 0 |
| Error message is correct for empty userId field | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Delete Cart
## Overview
This endpoint deletes a specific cart from the system using the cart ID. It permanently removes the cart and returns confirmation of the deletion.
## Expected Behaviour
When this request is executed successfully:
- The specified cart is permanently deleted from the system
- A confirmation response is returned with deletion status
- The response includes a timestamp of when the deletion occurred
- The `isDeleted` flag is set to `true` in the response
## Request Details
**Method:** `DELETE`
**URL:** `https://dummyjson.com/carts/1`
**Headers:** None specified
**Body:** This DELETE request does not require a request body.
## Variables Used
This request uses the following variables:
- **`baseUrl`** - The base URL of the API endpoint
- **`cart_id`** - The unique identifier of the cart to be deleted
## Response Details
The API returns a JSON object with the following structure:
**Expected Response Structure:**
```json
{
"isDeleted": boolean,
"deletedOn": string
}
```
**Response Fields:**
- **`isDeleted`** (boolean) - Indicates whether the cart was successfully deleted. Should be `true` for successful deletion.
- **`deletedOn`** (string) - Timestamp indicating when the cart was deleted.
## Test Validations
This request includes the following automated test assertions:
1. **Status Code Validation** - Verifies that the response status code is 200 (OK)
2. **Response Time Validation** - Ensures the response time is less than 2000ms for performance monitoring
3. **Content-Type Validation** - Confirms the response Content-Type header is `application/json`
4. **Response Structure Validation** - Verifies that the response body is a valid JSON object
5. **isDeleted Property Validation** - Checks that the response contains an `isDeleted` property with boolean data type
6. **deletedOn Property Validation** - Checks that the response contains a `deletedOn` property with string data type
7. **Deletion Confirmation** - Validates that the `isDeleted` field is `true`, confirming successful cart deletion
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | dabbaa76-8604-482f-8e7b-8a2b496a4b5d |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:04 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 91 |
| x-ratelimit-reset | 1769721607 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"499-FHe3qEUR4MKhMWr2iNGsINoPWXk" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=q%2BjBX2JbVnloJ4zgHUN1vn83%2Byavg7M6O5qmlyluG6cV3kuf0mhH2X9w6mEm6WcR%2F5jD5UaxPlzL%2BoR%2Bkgc%2Bkbs3O4Zg%2Fi6HtoJBQ5iLPBrZkJimFSEvmV0%3D"}]} |
| CF-RAY | 9c5bc5783cfa0c5b-AMM |
{"id":1,"products":[{"id":168,"title":"Charger SXT RWD","price":32999.99,"quantity":3,"total":98999.97,"discountPercentage":13.39,"discountedTotal":85743.87,"thumbnail":"https://cdn.dummyjson.com/products/images/vehicle/Charger%20SXT%20RWD/thumbnail.png"},{"id":78,"title":"Apple MacBook Pro 14 Inch Space Grey","price":1999.99,"quantity":2,"total":3999.98,"discountPercentage":18.52,"discountedTotal":3259.18,"thumbnail":"https://cdn.dummyjson.com/products/images/laptops/Apple%20MacBook%20Pro%2014%20Inch%20Space%20Grey/thumbnail.png"},{"id":183,"title":"Green Oval Earring","price":24.99,"quantity":5,"total":124.94999999999999,"discountPercentage":6.28,"discountedTotal":117.1,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-jewellery/Green%20Oval%20Earring/thumbnail.png"},{"id":100,"title":"Apple Airpods","price":129.99,"quantity":5,"total":649.95,"discountPercentage":12.84,"discountedTotal":566.5,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Apple%20Airpods/thumbnail.png"}],"total":103774.85,"discountedTotal":89686.65,"userId":33,"totalProducts":4,"totalQuantity":15,"isDeleted":true,"deletedOn":"2026-01-29T21:20:03.944Z"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body has is deleted property with correct data type | 1 | 0 | 0 |
| response body has deleted on property with correct data type | 1 | 0 | 0 |
| cart is deleted | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Get Cart with Invalid ID
## Overview
This is a **negative test case** designed to verify that the API correctly handles requests for non-existent cart resources. It tests the error handling behavior when attempting to retrieve a cart using an invalid or non-existent cart ID.
## Expected Behaviour
When this request is executed with an invalid cart ID, the API should:
- Return a **404 Not Found** HTTP status code
- Provide a JSON response containing an error message
- Include a descriptive message indicating that the requested cart was not found
This validates that the API properly handles invalid resource requests and returns appropriate error responses to clients.
## Request Details
**Method:** `GET`
**URL:** `https://dummyjson.com/carts/99999999`
**Headers:** Standard headers (no custom headers required for this request)
**Body:** No request body (GET request)
## Variables Used
This request uses the following variables:
- **`baseUrl`** - The base URL of the API endpoint (e.g., `https://dummyjson.com`)
- **`invalid_id`** - An invalid or non-existent cart ID used to trigger the error response (e.g., `99999`, `invalid`, or any ID that doesn't exist in the system)
These variables should be defined in your environment to ensure the request executes correctly.
## Response Details
**Expected Status Code:** `404 Not Found`
**Response Structure:**
```json
{
"message": "Cart with id '99999999' not found"
}
```
**Response Fields:**
- **`message`** (string) - An error message describing why the request failed. The message should contain text indicating that the cart was "not found".
## Test Validations
This request includes automated test assertions in the post-response script to validate the error handling:
1. **Status Code Validation**
- Verifies that the response status code is `404`
- Ensures the API returns the correct HTTP status for non-existent resources
2. **Error Message Presence**
- Checks that the response body contains a `message` property
- Validates that the API provides error details in the response
3. **Error Message Content**
- Confirms that the error message includes the text "not found" (case-insensitive)
- Ensures the error message is descriptive and meaningful for debugging
All three test validations must pass for this negative test case to be considered successful.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 065b07fd-3784-489d-a812-2eb428487b3a |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:04 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 96 |
| x-ratelimit-reset | 1769721613 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"2f-05qhlTLrFNSg7wWDyWTbJENRvKY" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=dwbd2JiT3mt%2Bu1S5yXoACgLZJTuZVNW1PEYcND%2BzRosrpgOqRz31iOhqPhdq0OJY%2Fsqw3rCI8raIMVMRB%2B1rY1ef44HweC0YOniFDAY5QSev0irHewGNI%2B0%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc579d95b0c5b-AMM |
{"message":"Cart with id '99999999' not found"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| response body contains error message | 1 | 0 | 0 |
| response body contains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Users-List
## Overview
This request retrieves a paginated list of all users from the DummyJSON API. It returns user information including personal details and account data in a structured JSON format.
## Purpose
This endpoint exists to provide access to the complete user database for testing purposes. It solves the problem of needing to retrieve multiple user records at once, supporting scenarios like:
- Displaying user lists in applications
- Testing pagination functionality
- Validating user data structures
- Performing bulk user operations
- Testing search and filter capabilities
## Expected Behaviour
When executed successfully, this request should:
- Return a 200 OK status code
- Respond within 2000 milliseconds
- Provide a JSON response with a users array containing user objects
- Include pagination metadata (total, skip, limit)
- Return properly structured user objects with all required fields
## Request Details
**Method:** `GET`
**URL:** `https://dummyjson.com/users`
**Headers:** None specified (default headers apply)
**Body:** No request body (GET request)
## Variables Used
- `baseUrl` - The base URL for the DummyJSON API endpoint (defined in the active environment)
## Response Details
The response returns a JSON object with the following structure:
**Root Level Fields:**
- `users` (array) - Array of user objects
- `total` (number) - Total number of users available
- `skip` (number) - Number of users skipped (for pagination)
- `limit` (number) - Maximum number of users returned per request
**User Object Structure:**
Each user object in the `users` array contains:
- `id` (number) - Unique identifier for the user
- `firstName` (string) - User's first name
- `lastName` (string) - User's last name
- `email` (string) - User's email address
- `username` (string) - User's username
**Example Response:**
```json
{
"users": [
{
"id": 1,
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"username": "johndoe"
}
],
"total": 100,
"skip": 0,
"limit": 30
}
```
## Test Validations
This request includes comprehensive automated test validations to ensure API reliability and data integrity:
1. **Status Code Validation**
- Verifies the response status code is 200 (OK)
2. **Performance Validation**
- Ensures response time is less than 2000 milliseconds
3. **Content-Type Validation**
- Confirms the response Content-Type header includes "application/json"
4. **Response Structure Validation**
- Verifies the response body contains a "users" property
- Confirms "users" is an array data type
5. **Data Presence Validation**
- Ensures the users array is not empty (contains at least one user)
6. **Required Fields Validation**
- Checks that each user object contains all required fields: id, firstName, lastName, email, username
7. **Data Type Validation**
- Validates that each user's fields have correct data types:
- `id` must be a number
- `firstName` must be a string
- `lastName` must be a string
- `email` must be a string
- `username` must be a string
8. **Pagination Fields Validation**
- Confirms the response includes pagination metadata: total, skip, limit
9. **Pagination Logic Validation**
- Verifies that the number of users returned does not exceed the specified limit
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f0f61a49-390d-4703-bd4b-85bbc2b40226 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:04 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 95 |
| x-ratelimit-reset | 1769530921 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"a3b1-Wc+qCYPJ2IxKpnt00AlusGYMzCE" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| Age | 190685 |
| Cache-Control | no-store |
| cf-cache-status | HIT |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=Vn326gbB7cQh83hTXoXm5vXnGpZ86BowTfdSMDrMxWRcnR1yf%2BcJ62AlVUxNgy6F70PC97N4pPhQ%2FtrXcvCOWTz6iUeV4U6aPiJ9rI2l8Q4evJCffxhNlnc%3D"}]} |
| CF-RAY | 9c5bc57b7d5b0c5b-AMM |
{"users":[{"id":1,"firstName":"Emily","lastName":"Johnson","maidenName":"Smith","age":29,"gender":"female","email":"emily.johnson@x.dummyjson.com","phone":"+81 965-431-3024","username":"emilys","password":"emilyspass","birthDate":"1996-5-30","image":"https://dummyjson.com/icon/emilys/128","bloodGroup":"O-","height":193.24,"weight":63.16,"eyeColor":"Green","hair":{"color":"Brown","type":"Curly"},"ip":"42.48.100.32","address":{"address":"626 Main Street","city":"Phoenix","state":"Mississippi","stateCode":"MS","postalCode":"29112","coordinates":{"lat":-77.16213,"lng":-92.084824},"country":"United States"},"macAddress":"47:fa:41:18:ec:eb","university":"University of Wisconsin--Madison","bank":{"cardExpire":"05/28","cardNumber":"3693233511855044","cardType":"Diners Club International","currency":"GBP","iban":"GB74MH2UZLR9TRPHYNU8F8"},"company":{"department":"Engineering","name":"Dooley, Kozey and Cronin","title":"Sales Manager","address":{"address":"263 Tenth Street","city":"San Francisco","state":"Wisconsin","stateCode":"WI","postalCode":"37657","coordinates":{"lat":71.814525,"lng":-161.150263},"country":"United States"}},"ein":"977-175","ssn":"900-590-289","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"},{"id":2,"firstName":"Michael","lastName":"Williams","maidenName":"","age":36,"gender":"male","email":"michael.williams@x.dummyjson.com","phone":"+49 258-627-6644","username":"michaelw","password":"michaelwpass","birthDate":"1989-8-10","image":"https://dummyjson.com/icon/michaelw/128","bloodGroup":"B+","height":186.22,"weight":76.32,"eyeColor":"Red","hair":{"color":"Green","type":"Straight"},"ip":"12.13.116.142","address":{"address":"385 Fifth Street","city":"Houston","state":"Alabama","stateCode":"AL","postalCode":"38807","coordinates":{"lat":22.815468,"lng":115.608581},"country":"United States"},"macAddress":"79:15:78:99:60:aa","university":"Ohio State University","bank":{"cardExpire":"01/30","cardNumber":"3530633803003665","cardType":"JCB","currency":"USD","iban":"DE26362283149158045865"},"company":{"department":"Support","name":"Spinka - Dickinson","title":"Support Specialist","address":{"address":"395 Main Street","city":"Los Angeles","state":"New Hampshire","stateCode":"NH","postalCode":"73442","coordinates":{"lat":79.098326,"lng":-119.624845},"country":"United States"}},"ein":"912-602","ssn":"108-953-962","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Edge/97.0.1072.76 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"},{"id":3,"firstName":"Sophia","lastName":"Brown","maidenName":"","age":43,"gender":"female","email":"sophia.brown@x.dummyjson.com","phone":"+81 210-652-2785","username":"sophiab","password":"sophiabpass","birthDate":"1982-11-6","image":"https://dummyjson.com/icon/sophiab/128","bloodGroup":"O-","height":177.72,"weight":52.6,"eyeColor":"Hazel","hair":{"color":"White","type":"Wavy"},"ip":"214.225.51.195","address":{"address":"1642 Ninth Street","city":"Washington","state":"Alabama","stateCode":"AL","postalCode":"32822","coordinates":{"lat":45.289366,"lng":46.832664},"country":"United States"},"macAddress":"12:a3:d3:6f:5c:5b","university":"Pepperdine University","bank":{"cardExpire":"10/27","cardNumber":"6011212053392887","cardType":"Discover","currency":"EUR","iban":"DE12191213468288004835"},"company":{"department":"Research and Development","name":"Schiller - Zieme","title":"Accountant","address":{"address":"1896 Washington Street","city":"Dallas","state":"Nevada","stateCode":"NV","postalCode":"88511","coordinates":{"lat":20.086743,"lng":-34.577107},"country":"United States"}},"ein":"963-113","ssn":"638-461-822","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"},{"id":4,"firstName":"James","lastName":"Davis","maidenName":"","age":46,"gender":"male","email":"james.davis@x.dummyjson.com","phone":"+49 614-958-9364","username":"jamesd","password":"jamesdpass","birthDate":"1979-5-4","image":"https://dummyjson.com/icon/jamesd/128","bloodGroup":"AB+","height":193.31,"weight":62.1,"eyeColor":"Amber","hair":{"color":"Blonde","type":"Straight"},"ip":"101.118.131.66","address":{"address":"238 Jefferson Street","city":"Seattle","state":"Pennsylvania","stateCode":"PA","postalCode":"68354","coordinates":{"lat":16.782513,"lng":-139.34723},"country":"United States"},"macAddress":"10:7d:df:1f:97:58","university":"University of Southern California","bank":{"cardExpire":"07/30","cardNumber":"5303440212268149","cardType":"Mastercard","currency":"CAD","iban":"DE01300746880579852937"},"company":{"department":"Support","name":"Pagac and Sons","title":"Research Analyst","address":{"address":"1622 Lincoln Street","city":"Fort Worth","state":"Pennsylvania","stateCode":"PA","postalCode":"27768","coordinates":{"lat":54.91193,"lng":-79.498328},"country":"United States"}},"ein":"904-810","ssn":"116-951-314","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"},{"id":5,"firstName":"Emma","lastName":"Miller","maidenName":"Johnson","age":31,"gender":"female","email":"emma.miller@x.dummyjson.com","phone":"+91 759-776-1614","username":"emmaj","password":"emmajpass","birthDate":"1994-6-13","image":"https://dummyjson.com/icon/emmaj/128","bloodGroup":"AB-","height":192.8,"weight":63.62,"eyeColor":"Green","hair":{"color":"White","type":"Straight"},"ip":"224.126.22.183","address":{"address":"607 Fourth Street","city":"Jacksonville","state":"Colorado","stateCode":"CO","postalCode":"26593","coordinates":{"lat":0.505589,"lng":-157.43281},"country":"United States"},"macAddress":"32:b9:7e:8d:f5:e8","university":"Northeastern University","bank":{"cardExpire":"07/30","cardNumber":"5237188057591130","cardType":"Mastercard","currency":"NZD","iban":"DE19182355652037133559"},"company":{"department":"Human Resources","name":"Graham - Gulgowski","title":"Quality Assurance Engineer","address":{"address":"1460 Sixth Street","city":"San Antonio","state":"Idaho","stateCode":"ID","postalCode":"21965","coordinates":{"lat":44.346545,"lng":-26.944701},"country":"United States"}},"ein":"403-505","ssn":"526-210-885","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"},{"id":6,"firstName":"Olivia","lastName":"Wilson","maidenName":"","age":23,"gender":"female","email":"olivia.wilson@x.dummyjson.com","phone":"+91 607-295-6448","username":"oliviaw","password":"oliviawpass","birthDate":"2002-4-20","image":"https://dummyjson.com/icon/oliviaw/128","bloodGroup":"B+","height":182.61,"weight":58,"eyeColor":"Hazel","hair":{"color":"Gray","type":"Curly"},"ip":"249.178.112.207","address":{"address":"547 First Street","city":"Fort Worth","state":"Tennessee","stateCode":"TN","postalCode":"83843","coordinates":{"lat":75.32627,"lng":-26.15285},"country":"United States"},"macAddress":"9c:7f:ea:34:18:19","university":"University of North Carolina--Chapel Hill","bank":{"cardExpire":"06/30","cardNumber":"376320072452632","cardType":"American Express","currency":"NZD","iban":"DE21153814367894194071"},"company":{"department":"Product Management","name":"Pfannerstill Inc","title":"Research Analyst","address":{"address":"425 Sixth Street","city":"Indianapolis","state":"Oklahoma","stateCode":"OK","postalCode":"74263","coordinates":{"lat":74.986644,"lng":-132.916888},"country":"United States"}},"ein":"921-709","ssn":"836-772-168","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":7,"firstName":"Alexander","lastName":"Jones","maidenName":"","age":39,"gender":"male","email":"alexander.jones@x.dummyjson.com","phone":"+61 260-824-4986","username":"alexanderj","password":"alexanderjpass","birthDate":"1986-10-20","image":"https://dummyjson.com/icon/alexanderj/128","bloodGroup":"AB-","height":153.89,"weight":77.42,"eyeColor":"Blue","hair":{"color":"White","type":"Straight"},"ip":"166.204.84.32","address":{"address":"664 Maple Street","city":"Indianapolis","state":"Delaware","stateCode":"DE","postalCode":"86684","coordinates":{"lat":35.289664,"lng":7.063255},"country":"United States"},"macAddress":"d2:64:58:2d:1c:46","university":"University of Illinois--Urbana-Champaign","bank":{"cardExpire":"12/29","cardNumber":"5189302549548693","cardType":"Mastercard","currency":"PKR","iban":"DE67517655968963441488"},"company":{"department":"Engineering","name":"Dickens - Beahan","title":"Web Developer","address":{"address":"996 Eighth Street","city":"Washington","state":"Kansas","stateCode":"KS","postalCode":"27858","coordinates":{"lat":-75.462366,"lng":-128.025697},"country":"United States"}},"ein":"638-127","ssn":"722-993-925","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":8,"firstName":"Ava","lastName":"Taylor","maidenName":"","age":28,"gender":"female","email":"ava.taylor@x.dummyjson.com","phone":"+1 458-853-7877","username":"avat","password":"avatpass","birthDate":"1997-8-25","image":"https://dummyjson.com/icon/avat/128","bloodGroup":"AB-","height":168.47,"weight":57.08,"eyeColor":"Hazel","hair":{"color":"Red","type":"Kinky"},"ip":"150.73.197.233","address":{"address":"1197 First Street","city":"Fort Worth","state":"Rhode Island","stateCode":"RI","postalCode":"24771","coordinates":{"lat":-81.194833,"lng":-87.948158},"country":"United States"},"macAddress":"8d:2e:c2:d6:e7:a8","university":"University of Wisconsin--Madison","bank":{"cardExpire":"08/30","cardNumber":"5349974103330333","cardType":"Mastercard","currency":"EUR","iban":"FR94ZM2MMGL1EVYQE1ZLCVCFH83"},"company":{"department":"Marketing","name":"Nikolaus Inc","title":"Chief Executive Officer","address":{"address":"930 Lincoln Street","city":"Austin","state":"Colorado","stateCode":"CO","postalCode":"47592","coordinates":{"lat":87.970083,"lng":-42.769351},"country":"United States"}},"ein":"297-762","ssn":"257-419-109","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":9,"firstName":"Ethan","lastName":"Martinez","maidenName":"","age":34,"gender":"male","email":"ethan.martinez@x.dummyjson.com","phone":"+92 933-608-5081","username":"ethanm","password":"ethanmpass","birthDate":"1991-2-12","image":"https://dummyjson.com/icon/ethanm/128","bloodGroup":"AB+","height":159.19,"weight":68.81,"eyeColor":"Hazel","hair":{"color":"Purple","type":"Curly"},"ip":"63.191.127.71","address":{"address":"466 Pine Street","city":"San Antonio","state":"Louisiana","stateCode":"LA","postalCode":"72360","coordinates":{"lat":74.074918,"lng":-25.312703},"country":"United States"},"macAddress":"59:e:9e:e3:29:da","university":"Syracuse University","bank":{"cardExpire":"10/27","cardNumber":"3598603288061479","cardType":"JCB","currency":"GBP","iban":"GB26PND7D83JTW4HL6LZ71"},"company":{"department":"Support","name":"Gorczany - Gottlieb","title":"Legal Counsel","address":{"address":"1597 Oak Street","city":"Chicago","state":"Florida","stateCode":"FL","postalCode":"28100","coordinates":{"lat":-67.45208,"lng":-23.209886},"country":"United States"}},"ein":"790-434","ssn":"569-650-348","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":10,"firstName":"Isabella","lastName":"Anderson","maidenName":"Davis","age":32,"gender":"female","email":"isabella.anderson@x.dummyjson.com","phone":"+49 770-658-4885","username":"isabellad","password":"isabelladpass","birthDate":"1993-6-10","image":"https://dummyjson.com/icon/isabellad/128","bloodGroup":"A-","height":150.56,"weight":50.1,"eyeColor":"Brown","hair":{"color":"Blonde","type":"Curly"},"ip":"114.9.114.205","address":{"address":"1964 Oak Street","city":"New York","state":"Utah","stateCode":"UT","postalCode":"89352","coordinates":{"lat":41.331324,"lng":151.782727},"country":"United States"},"macAddress":"b1:b0:d0:a2:82:80","university":"California Institute of Technology (Caltech)","bank":{"cardExpire":"03/30","cardNumber":"3602093733952858","cardType":"Diners Club International","currency":"USD","iban":"DE12934874962442340025"},"company":{"department":"Marketing","name":"Pollich - Hilpert","title":"Chief Financial Officer","address":{"address":"1029 Adams Street","city":"San Diego","state":"Maryland","stateCode":"MD","postalCode":"63847","coordinates":{"lat":-25.843393,"lng":-62.692681},"country":"United States"}},"ein":"127-297","ssn":"902-438-728","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":11,"firstName":"Liam","lastName":"Garcia","maidenName":"","age":30,"gender":"male","email":"liam.garcia@x.dummyjson.com","phone":"+92 870-217-6201","username":"liamg","password":"liamgpass","birthDate":"1995-6-6","image":"https://dummyjson.com/icon/liamg/128","bloodGroup":"AB-","height":162.32,"weight":93.16,"eyeColor":"Violet","hair":{"color":"Red","type":"Wavy"},"ip":"56.201.85.9","address":{"address":"576 Fifth Street","city":"Denver","state":"South Dakota","stateCode":"SD","postalCode":"57252","coordinates":{"lat":-66.218177,"lng":-145.340165},"country":"United States"},"macAddress":"31:9a:28:8b:99:6c","university":"Ohio State University","bank":{"cardExpire":"12/29","cardNumber":"3614993744940956","cardType":"Diners Club International","currency":"USD","iban":"DE65581882748067758114"},"company":{"department":"Services","name":"Considine - Torp","title":"Web Developer","address":{"address":"27 Cedar Street","city":"Philadelphia","state":"Connecticut","stateCode":"CT","postalCode":"79574","coordinates":{"lat":-81.841588,"lng":31.79423},"country":"United States"}},"ein":"326-604","ssn":"933-784-949","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":12,"firstName":"Mia","lastName":"Rodriguez","maidenName":"","age":25,"gender":"female","email":"mia.rodriguez@x.dummyjson.com","phone":"+49 989-461-8403","username":"miar","password":"miarpass","birthDate":"2000-8-4","image":"https://dummyjson.com/icon/miar/128","bloodGroup":"O-","height":188.08,"weight":56.03,"eyeColor":"Blue","hair":{"color":"Purple","type":"Wavy"},"ip":"11.72.253.90","address":{"address":"1627 Sixth Street","city":"Jacksonville","state":"West Virginia","stateCode":"WV","postalCode":"41810","coordinates":{"lat":24.857497,"lng":-34.865429},"country":"United States"},"macAddress":"53:d7:a4:6:1e:58","university":"William & Mary","bank":{"cardExpire":"02/29","cardNumber":"343932350909214","cardType":"American Express","currency":"CAD","iban":"DE77118774979880310165"},"company":{"department":"Accounting","name":"Miller, Schowalter and Wisozk","title":"Business Analyst","address":{"address":"1039 Washington Street","city":"Philadelphia","state":"New Jersey","stateCode":"NJ","postalCode":"57518","coordinates":{"lat":85.455933,"lng":164.246103},"country":"United States"}},"ein":"754-660","ssn":"749-524-124","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":13,"firstName":"Noah","lastName":"Hernandez","maidenName":"","age":41,"gender":"male","email":"noah.hernandez@x.dummyjson.com","phone":"+49 393-605-6968","username":"noahh","password":"noahhpass","birthDate":"1984-6-5","image":"https://dummyjson.com/icon/noahh/128","bloodGroup":"AB+","height":188.62,"weight":69.49,"eyeColor":"Brown","hair":{"color":"Red","type":"Curly"},"ip":"169.154.126.57","address":{"address":"1413 Maple Street","city":"New York","state":"North Dakota","stateCode":"ND","postalCode":"73696","coordinates":{"lat":-25.0377,"lng":-151.70469},"country":"United States"},"macAddress":"d4:fe:ae:8f:eb:a3","university":"New York University (NYU)","bank":{"cardExpire":"03/30","cardNumber":"6262462852322850","cardType":"UnionPay","currency":"PKR","iban":"DE13437032020581217601"},"company":{"department":"Engineering","name":"Botsford, Marquardt and Roberts","title":"Database Administrator","address":{"address":"62 Third Street","city":"Seattle","state":"Oregon","stateCode":"OR","postalCode":"83474","coordinates":{"lat":19.490447,"lng":-13.173207},"country":"United States"}},"ein":"877-628","ssn":"660-847-389","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":14,"firstName":"Charlotte","lastName":"Lopez","maidenName":"Martinez","age":37,"gender":"female","email":"charlotte.lopez@x.dummyjson.com","phone":"+44 373-953-5028","username":"charlottem","password":"charlottempass","birthDate":"1988-6-8","image":"https://dummyjson.com/icon/charlottem/128","bloodGroup":"AB-","height":178.92,"weight":82.46,"eyeColor":"Brown","hair":{"color":"Gray","type":"Kinky"},"ip":"119.103.95.60","address":{"address":"208 Second Street","city":"Columbus","state":"Ohio","stateCode":"OH","postalCode":"42044","coordinates":{"lat":-44.443762,"lng":-151.420561},"country":"United States"},"macAddress":"f6:ff:37:aa:6c:f1","university":"Northeastern University","bank":{"cardExpire":"12/27","cardNumber":"3634388457177035","cardType":"Diners Club International","currency":"PKR","iban":"DE54092147842698685963"},"company":{"department":"Accounting","name":"Zulauf and Sons","title":"Chief Executive Officer","address":{"address":"569 Jefferson Street","city":"Los Angeles","state":"Montana","stateCode":"MT","postalCode":"17779","coordinates":{"lat":-18.371256,"lng":22.566258},"country":"United States"}},"ein":"364-782","ssn":"255-491-479","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":15,"firstName":"William","lastName":"Gonzalez","maidenName":"","age":33,"gender":"male","email":"william.gonzalez@x.dummyjson.com","phone":"+81 905-252-7319","username":"williamg","password":"williamgpass","birthDate":"1992-3-27","image":"https://dummyjson.com/icon/williamg/128","bloodGroup":"B-","height":173.21,"weight":82.41,"eyeColor":"Hazel","hair":{"color":"Gray","type":"Curly"},"ip":"250.2.241.204","address":{"address":"31 Maple Street","city":"San Jose","state":"Utah","stateCode":"UT","postalCode":"78243","coordinates":{"lat":8.152876,"lng":113.29799},"country":"United States"},"macAddress":"f5:68:28:f9:ec:89","university":"Tufts University","bank":{"cardExpire":"05/30","cardNumber":"6228256225004929","cardType":"UnionPay","currency":"PKR","iban":"DE63711022986572448914"},"company":{"department":"Marketing","name":"Spinka - Dickinson","title":"Software Architect","address":{"address":"1538 Eighth Street","city":"San Jose","state":"Missouri","stateCode":"MO","postalCode":"29673","coordinates":{"lat":24.169361,"lng":-29.395167},"country":"United States"}},"ein":"830-515","ssn":"690-544-755","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":16,"firstName":"Avery","lastName":"Perez","maidenName":"","age":26,"gender":"female","email":"avery.perez@x.dummyjson.com","phone":"+61 731-431-3457","username":"averyp","password":"averyppass","birthDate":"1999-3-10","image":"https://dummyjson.com/icon/averyp/128","bloodGroup":"O-","height":172.68,"weight":93.9,"eyeColor":"Brown","hair":{"color":"Green","type":"Curly"},"ip":"131.217.4.214","address":{"address":"1125 First Street","city":"Columbus","state":"Iowa","stateCode":"IA","postalCode":"30973","coordinates":{"lat":12.789127,"lng":85.792598},"country":"United States"},"macAddress":"b3:ff:f3:c5:37:46","university":"Harvard University","bank":{"cardExpire":"08/29","cardNumber":"378024038311910","cardType":"American Express","currency":"USD","iban":"DE42403186906981858976"},"company":{"department":"Accounting","name":"Herzog Inc","title":"Database Administrator","address":{"address":"183 Maple Street","city":"New York","state":"Rhode Island","stateCode":"RI","postalCode":"45238","coordinates":{"lat":-53.318189,"lng":105.835271},"country":"United States"}},"ein":"348-493","ssn":"679-523-686","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":17,"firstName":"Evelyn","lastName":"Sanchez","maidenName":"","age":38,"gender":"female","email":"evelyn.sanchez@x.dummyjson.com","phone":"+1 623-880-6871","username":"evelyns","password":"evelynspass","birthDate":"1987-10-13","image":"https://dummyjson.com/icon/evelyns/128","bloodGroup":"B+","height":184.08,"weight":83.15,"eyeColor":"Violet","hair":{"color":"Blue","type":"Curly"},"ip":"87.114.135.146","address":{"address":"1170 Lincoln Street","city":"San Diego","state":"Wyoming","stateCode":"WY","postalCode":"43423","coordinates":{"lat":-83.31484,"lng":11.768071},"country":"United States"},"macAddress":"f8:e5:bd:43:bc:d8","university":"Washington University in St. Louis","bank":{"cardExpire":"01/29","cardNumber":"3514443781649095","cardType":"JCB","currency":"GBP","iban":"GB74239MLVNQ0UB9ANTFRM"},"company":{"department":"Support","name":"Predovic - Johns","title":"Chief Financial Officer","address":{"address":"1802 Ninth Street","city":"San Diego","state":"Minnesota","stateCode":"MN","postalCode":"89416","coordinates":{"lat":29.034592,"lng":-78.004598},"country":"United States"}},"ein":"604-817","ssn":"689-332-644","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":18,"firstName":"Logan","lastName":"Torres","maidenName":"","age":32,"gender":"male","email":"logan.torres@x.dummyjson.com","phone":"+81 507-434-8733","username":"logant","password":"logantpass","birthDate":"1993-10-26","image":"https://dummyjson.com/icon/logant/128","bloodGroup":"A+","height":190.04,"weight":72.43,"eyeColor":"Green","hair":{"color":"Green","type":"Curly"},"ip":"155.98.15.162","address":{"address":"907 Seventh Street","city":"Columbus","state":"Arkansas","stateCode":"AR","postalCode":"78805","coordinates":{"lat":-64.846516,"lng":174.775744},"country":"United States"},"macAddress":"40:d:5c:1:7d:bf","university":"University of Illinois--Urbana-Champaign","bank":{"cardExpire":"04/30","cardNumber":"6258651210557142","cardType":"UnionPay","currency":"EUR","iban":"ES1171429445321693077621"},"company":{"department":"Training","name":"Jast - Nader","title":"Data Analyst","address":{"address":"947 Main Street","city":"Denver","state":"Minnesota","stateCode":"MN","postalCode":"71896","coordinates":{"lat":-24.654063,"lng":-147.255268},"country":"United States"}},"ein":"576-218","ssn":"806-639-934","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":19,"firstName":"Abigail","lastName":"Rivera","maidenName":"","age":29,"gender":"female","email":"abigail.rivera@x.dummyjson.com","phone":"+91 228-363-7806","username":"abigailr","password":"abigailrpass","birthDate":"1996-10-11","image":"https://dummyjson.com/icon/abigailr/128","bloodGroup":"B+","height":186.39,"weight":74.61,"eyeColor":"Violet","hair":{"color":"Blue","type":"Kinky"},"ip":"19.183.240.94","address":{"address":"996 Oak Street","city":"Chicago","state":"New Mexico","stateCode":"NM","postalCode":"11407","coordinates":{"lat":44.321308,"lng":-3.723903},"country":"United States"},"macAddress":"1d:a6:58:2a:e5:e4","university":"California Institute of Technology (Caltech)","bank":{"cardExpire":"01/27","cardNumber":"6011399019022417","cardType":"Discover","currency":"EUR","iban":"IT11QP2B5J81QM1FBX029VI5DD68O"},"company":{"department":"Human Resources","name":"Prohaska - Thiel","title":"Business Analyst","address":{"address":"1402 Adams Street","city":"Austin","state":"Wisconsin","stateCode":"WI","postalCode":"51456","coordinates":{"lat":25.672938,"lng":-76.54967},"country":"United States"}},"ein":"173-637","ssn":"655-823-929","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Edge/97.0.1072.76 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":20,"firstName":"Jackson","lastName":"Evans","maidenName":"","age":35,"gender":"male","email":"jackson.evans@x.dummyjson.com","phone":"+44 468-628-6686","username":"jacksone","password":"jacksonepass","birthDate":"1990-11-30","image":"https://dummyjson.com/icon/jacksone/128","bloodGroup":"O-","height":162.57,"weight":74.37,"eyeColor":"Green","hair":{"color":"Red","type":"Straight"},"ip":"221.127.144.198","address":{"address":"1873 Main Street","city":"New York","state":"Arkansas","stateCode":"AR","postalCode":"26600","coordinates":{"lat":34.722451,"lng":63.448927},"country":"United States"},"macAddress":"81:14:1:97:88:85","university":"Ohio State University","bank":{"cardExpire":"07/30","cardNumber":"376760688512826","cardType":"American Express","currency":"GBP","iban":"GB27CM0H0MNPXSPDGA0A1O"},"company":{"department":"Legal","name":"Kuhlman LLC","title":"Web Developer","address":{"address":"1706 First Street","city":"Chicago","state":"Hawaii","stateCode":"HI","postalCode":"34725","coordinates":{"lat":-80.416937,"lng":-83.224516},"country":"United States"}},"ein":"843-260","ssn":"248-787-886","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":21,"firstName":"Madison","lastName":"Collins","maidenName":"","age":27,"gender":"female","email":"madison.collins@x.dummyjson.com","phone":"+81 259-957-5711","username":"madisonc","password":"madisoncpass","birthDate":"1998-3-7","image":"https://dummyjson.com/icon/madisonc/128","bloodGroup":"B-","height":189.28,"weight":56.96,"eyeColor":"Red","hair":{"color":"Gray","type":"Curly"},"ip":"85.34.1.204","address":{"address":"1892 Lincoln Street","city":"Philadelphia","state":"New Jersey","stateCode":"NJ","postalCode":"62091","coordinates":{"lat":52.993694,"lng":160.486892},"country":"United States"},"macAddress":"13:b0:d0:23:4d:26","university":"University of Pennsylvania","bank":{"cardExpire":"09/27","cardNumber":"5551259848327064","cardType":"Mastercard","currency":"EUR","iban":"ES3893300143587765232049"},"company":{"department":"Engineering","name":"Mayer - Smitham","title":"Chief Technology Officer","address":{"address":"1438 Main Street","city":"San Diego","state":"Delaware","stateCode":"DE","postalCode":"63144","coordinates":{"lat":1.629613,"lng":23.232982},"country":"United States"}},"ein":"716-166","ssn":"457-258-950","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":22,"firstName":"Elijah","lastName":"Stewart","maidenName":"","age":34,"gender":"male","email":"elijah.stewart@x.dummyjson.com","phone":"+44 468-357-7872","username":"elijahs","password":"elijahspass","birthDate":"1991-10-22","image":"https://dummyjson.com/icon/elijahs/128","bloodGroup":"A-","height":195.33,"weight":81.64,"eyeColor":"Blue","hair":{"color":"Purple","type":"Straight"},"ip":"23.87.135.62","address":{"address":"1701 Eighth Street","city":"Columbus","state":"Illinois","stateCode":"IL","postalCode":"31585","coordinates":{"lat":-54.833799,"lng":-174.504027},"country":"United States"},"macAddress":"75:17:c6:35:fc:6d","university":"Georgetown University","bank":{"cardExpire":"05/28","cardNumber":"3648138556543460","cardType":"Diners Club International","currency":"EUR","iban":"DE82018985741195770313"},"company":{"department":"Legal","name":"Langworth Group","title":"Business Analyst","address":{"address":"155 Ninth Street","city":"Washington","state":"South Dakota","stateCode":"SD","postalCode":"19039","coordinates":{"lat":61.279254,"lng":-12.607767},"country":"United States"}},"ein":"520-394","ssn":"287-380-801","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":23,"firstName":"Chloe","lastName":"Morales","maidenName":"","age":40,"gender":"female","email":"chloe.morales@x.dummyjson.com","phone":"+92 468-541-7133","username":"chloem","password":"chloempass","birthDate":"1985-4-21","image":"https://dummyjson.com/icon/chloem/128","bloodGroup":"O+","height":185.07,"weight":63.97,"eyeColor":"Brown","hair":{"color":"Red","type":"Kinky"},"ip":"66.78.20.21","address":{"address":"401 Fourth Street","city":"Dallas","state":"New Jersey","stateCode":"NJ","postalCode":"54972","coordinates":{"lat":-30.190759,"lng":-58.705979},"country":"United States"},"macAddress":"fc:f:29:e1:37:b8","university":"Syracuse University","bank":{"cardExpire":"09/30","cardNumber":"347036238254235","cardType":"American Express","currency":"CNY","iban":"DE77762461851744284392"},"company":{"department":"Sales","name":"Grady LLC","title":"Database Administrator","address":{"address":"269 Third Street","city":"Houston","state":"North Carolina","stateCode":"NC","postalCode":"10385","coordinates":{"lat":40.098115,"lng":-1.762972},"country":"United States"}},"ein":"913-597","ssn":"938-883-163","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":24,"firstName":"Mateo","lastName":"Nguyen","maidenName":"","age":31,"gender":"male","email":"mateo.nguyen@x.dummyjson.com","phone":"+1 341-597-6694","username":"mateon","password":"mateonpass","birthDate":"1994-6-2","image":"https://dummyjson.com/icon/mateon/128","bloodGroup":"O+","height":174.29,"weight":59.98,"eyeColor":"Red","hair":{"color":"Purple","type":"Wavy"},"ip":"192.57.144.7","address":{"address":"1578 Fourth Street","city":"Columbus","state":"Missouri","stateCode":"MO","postalCode":"20673","coordinates":{"lat":-32.828675,"lng":-82.557354},"country":"United States"},"macAddress":"a7:26:10:7a:36:29","university":"Columbia University","bank":{"cardExpire":"12/29","cardNumber":"4021840414995098","cardType":"Visa","currency":"CAD","iban":"DE43275561962007561223"},"company":{"department":"Accounting","name":"Spinka LLC","title":"Business Analyst","address":{"address":"1967 Jefferson Street","city":"Dallas","state":"Louisiana","stateCode":"LA","postalCode":"78527","coordinates":{"lat":75.982676,"lng":164.459743},"country":"United States"}},"ein":"229-249","ssn":"416-877-230","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":25,"firstName":"Harper","lastName":"Kelly","maidenName":"Evans","age":28,"gender":"female","email":"harper.kelly@x.dummyjson.com","phone":"+92 518-863-2863","username":"harpere","password":"harperepass","birthDate":"1997-3-3","image":"https://dummyjson.com/icon/harpere/128","bloodGroup":"AB-","height":184.32,"weight":81.69,"eyeColor":"Amber","hair":{"color":"Red","type":"Curly"},"ip":"174.111.61.162","address":{"address":"1591 Adams Street","city":"Philadelphia","state":"New York","stateCode":"NY","postalCode":"69521","coordinates":{"lat":-26.832913,"lng":-75.445017},"country":"United States"},"macAddress":"b:ff:33:67:94:e4","university":"Boston College","bank":{"cardExpire":"06/27","cardNumber":"4488823564436432","cardType":"Visa","currency":"EUR","iban":"ES5874149276753342261515"},"company":{"department":"Legal","name":"Leffler, Rolfson and Becker","title":"Business Development Manager","address":{"address":"16 Maple Street","city":"Austin","state":"North Carolina","stateCode":"NC","postalCode":"68274","coordinates":{"lat":-15.423746,"lng":149.298887},"country":"United States"}},"ein":"592-557","ssn":"209-544-548","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":26,"firstName":"Evelyn","lastName":"Gonzalez","maidenName":"","age":36,"gender":"female","email":"evelyn.gonzalez@x.dummyjson.com","phone":"+61 708-508-4638","username":"evelyng","password":"evelyngpass","birthDate":"1989-2-5","image":"https://dummyjson.com/icon/evelyng/128","bloodGroup":"O+","height":168.94,"weight":58.47,"eyeColor":"Red","hair":{"color":"Black","type":"Wavy"},"ip":"42.52.74.232","address":{"address":"1065 Lincoln Street","city":"Dallas","state":"Maine","stateCode":"ME","postalCode":"84898","coordinates":{"lat":67.768359,"lng":71.268643},"country":"United States"},"macAddress":"89:5e:5a:2a:72:42","university":"Washington University in St. Louis","bank":{"cardExpire":"08/28","cardNumber":"6011735364912274","cardType":"Discover","currency":"CAD","iban":"DE27147353096476220032"},"company":{"department":"Accounting","name":"Tromp, Gaylord and Weber","title":"Project Manager","address":{"address":"584 Ninth Street","city":"Jacksonville","state":"Wisconsin","stateCode":"WI","postalCode":"45633","coordinates":{"lat":26.014021,"lng":40.572436},"country":"United States"}},"ein":"569-275","ssn":"487-680-127","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":27,"firstName":"Daniel","lastName":"Cook","maidenName":"","age":42,"gender":"male","email":"daniel.cook@x.dummyjson.com","phone":"+44 254-761-6843","username":"danielc","password":"danielcpass","birthDate":"1983-12-25","image":"https://dummyjson.com/icon/danielc/128","bloodGroup":"AB+","height":186.21,"weight":83.72,"eyeColor":"Brown","hair":{"color":"Blonde","type":"Curly"},"ip":"1.61.73.142","address":{"address":"1163 Pine Street","city":"Los Angeles","state":"Nevada","stateCode":"NV","postalCode":"58781","coordinates":{"lat":-3.456681,"lng":-134.937482},"country":"United States"},"macAddress":"6e:73:dc:3a:85:10","university":"Columbia University","bank":{"cardExpire":"05/29","cardNumber":"5485409595328150","cardType":"Mastercard","currency":"NZD","iban":"DE71341603969952506034"},"company":{"department":"Support","name":"Morissette, Baumbach and Auer","title":"Legal Counsel","address":{"address":"938 Fifth Street","city":"San Francisco","state":"South Dakota","stateCode":"SD","postalCode":"45305","coordinates":{"lat":21.323588,"lng":-83.531427},"country":"United States"}},"ein":"585-905","ssn":"645-515-583","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":28,"firstName":"Lily","lastName":"Lee","maidenName":"Brown","age":30,"gender":"female","email":"lily.lee@x.dummyjson.com","phone":"+1 808-757-9867","username":"lilyb","password":"lilybpass","birthDate":"1995-12-3","image":"https://dummyjson.com/icon/lilyb/128","bloodGroup":"AB-","height":181.42,"weight":51.49,"eyeColor":"Gray","hair":{"color":"Purple","type":"Straight"},"ip":"67.184.255.96","address":{"address":"1946 Oak Street","city":"Phoenix","state":"Massachusetts","stateCode":"MA","postalCode":"41540","coordinates":{"lat":-9.87059,"lng":-72.336845},"country":"United States"},"macAddress":"18:b6:c7:a:50:3f","university":"Johns Hopkins University","bank":{"cardExpire":"12/28","cardNumber":"5551782139834613","cardType":"Mastercard","currency":"CAD","iban":"DE49484285539189712621"},"company":{"department":"Product Management","name":"Cremin Inc","title":"Quality Assurance Engineer","address":{"address":"1735 Cedar Street","city":"Phoenix","state":"Wyoming","stateCode":"WY","postalCode":"85797","coordinates":{"lat":72.231441,"lng":-158.147245},"country":"United States"}},"ein":"229-776","ssn":"358-185-671","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Edge/97.0.1072.76 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":29,"firstName":"Henry","lastName":"Hill","maidenName":"","age":39,"gender":"male","email":"henry.hill@x.dummyjson.com","phone":"+1 240-833-4680","username":"henryh","password":"henryhpass","birthDate":"1986-8-19","image":"https://dummyjson.com/icon/henryh/128","bloodGroup":"O-","height":180.25,"weight":95.84,"eyeColor":"Gray","hair":{"color":"Black","type":"Straight"},"ip":"194.43.55.202","address":{"address":"1837 Maple Street","city":"Indianapolis","state":"Delaware","stateCode":"DE","postalCode":"81783","coordinates":{"lat":35.498256,"lng":154.088476},"country":"United States"},"macAddress":"fa:c3:1b:21:5f:44","university":"University of Illinois--Urbana-Champaign","bank":{"cardExpire":"11/29","cardNumber":"3625097026040498","cardType":"Diners Club International","currency":"EUR","iban":"DE08820336197191865470"},"company":{"department":"Services","name":"Gerlach, Funk and Schoen","title":"Sales Manager","address":{"address":"1651 Lincoln Street","city":"San Francisco","state":"West Virginia","stateCode":"WV","postalCode":"61805","coordinates":{"lat":-59.936335,"lng":-12.405368},"country":"United States"}},"ein":"118-957","ssn":"925-686-100","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":30,"firstName":"Addison","lastName":"Wright","maidenName":"","age":33,"gender":"female","email":"addison.wright@x.dummyjson.com","phone":"+1 514-384-3300","username":"addisonw","password":"addisonwpass","birthDate":"1992-1-3","image":"https://dummyjson.com/icon/addisonw/128","bloodGroup":"B+","height":179.32,"weight":76.93,"eyeColor":"Brown","hair":{"color":"Blonde","type":"Straight"},"ip":"11.35.69.81","address":{"address":"568 Tenth Street","city":"San Francisco","state":"Montana","stateCode":"MT","postalCode":"54698","coordinates":{"lat":20.946052,"lng":100.228822},"country":"United States"},"macAddress":"fb:0:94:21:16:c","university":"Syracuse University","bank":{"cardExpire":"06/28","cardNumber":"5274971895809762","cardType":"Mastercard","currency":"PKR","iban":"DE91480955939051635497"},"company":{"department":"Services","name":"Kreiger Inc","title":"Human Resources Manager","address":{"address":"1173 Eighth Street","city":"San Diego","state":"Michigan","stateCode":"MI","postalCode":"85777","coordinates":{"lat":65.324413,"lng":87.142893},"country":"United States"}},"ein":"415-286","ssn":"804-492-390","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"}],"total":208,"skip":0,"limit":30}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000 ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body contains users array | 1 | 0 | 0 |
| users array is not empty | 1 | 0 | 0 |
| each user has required fields | 1 | 0 | 0 |
| each user has required fields with correct data types | 1 | 0 | 0 |
| response body contains pagination fields | 1 | 0 | 0 |
| users count does not exceed limit | 1 | 0 | 0 |
| Total | 9 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get User-By ID
## Overview
This request retrieves detailed information about a specific user from the DummyJSON API by their unique user ID.
## Purpose
This endpoint exists to fetch individual user profile data when you need to access or display information about a specific user. It solves the problem of retrieving complete user details without having to fetch all users and filter through them.
## Expected Behaviour
When executed successfully, this request will:
- Return a single user object matching the provided user ID
- Respond with HTTP status code 200
- Complete within 2000 milliseconds
- Return data in JSON format
## Request Details
**Method:** `GET`
**URL:** `https://dummyjson.com/users/6`
**Headers:** None specified
**Body:** No request body (GET request)
## Variables Used
- **`baseUrl`** - The base URL for the DummyJSON API endpoint
- **`user_id`** - The unique identifier of the user to retrieve
## Response Details
The response returns a user object with the following structure:
```json
{
"id": number,
"firstName": string,
"lastName": string,
"email": string,
"username": string
}
```
**Required Fields:**
- `id` (number) - Unique user identifier
- `firstName` (string) - User's first name
- `lastName` (string) - User's last name
- `email` (string) - User's email address
- `username` (string) - User's username
## Test Validations
This request includes the following automated test assertions:
1. **Status Code Validation** - Verifies the response status code is 200 (OK)
2. **Performance Check** - Ensures the response time is less than 2000ms
3. **Content-Type Validation** - Confirms the response Content-Type header is `application/json`
4. **Response Structure** - Validates that the response body is a JSON object
5. **Required Fields Presence** - Checks that all required fields (id, firstName, lastName, email, username) are present in the response
6. **Data Type Validation** - Verifies correct data types for all required fields:
- `id` must be a number
- `firstName` must be a string
- `lastName` must be a string
- `email` must be a string
- `username` must be a string
7. **ID Match Validation** - Confirms that the returned user ID matches the requested user ID from the environment variable
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f6a6961a-5773-42fc-81f3-0925f106876a |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:04 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 90 |
| x-ratelimit-reset | 1769721607 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"58c-f3JuK/tymf0Ng/VMSstXj5q9u+M" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=6N7tOvW2b3uh8uLeHyDnoxR%2BHuOOWDJM4Khp%2BVY47lLRGY198e3G98kH9uM9Is1md98CD1GbzSED7OeCshXAB0Y%2BBEQF474H20LsHpbeCsvX6d3skiabho0%3D"}]} |
| CF-RAY | 9c5bc57c986f0c5b-AMM |
{"id":6,"firstName":"Olivia","lastName":"Wilson","maidenName":"","age":23,"gender":"female","email":"olivia.wilson@x.dummyjson.com","phone":"+91 607-295-6448","username":"oliviaw","password":"oliviawpass","birthDate":"2002-4-20","image":"https://dummyjson.com/icon/oliviaw/128","bloodGroup":"B+","height":182.61,"weight":58,"eyeColor":"Hazel","hair":{"color":"Gray","type":"Curly"},"ip":"249.178.112.207","address":{"address":"547 First Street","city":"Fort Worth","state":"Tennessee","stateCode":"TN","postalCode":"83843","coordinates":{"lat":75.32627,"lng":-26.15285},"country":"United States"},"macAddress":"9c:7f:ea:34:18:19","university":"University of North Carolina--Chapel Hill","bank":{"cardExpire":"06/30","cardNumber":"376320072452632","cardType":"American Express","currency":"NZD","iban":"DE21153814367894194071"},"company":{"department":"Product Management","name":"Pfannerstill Inc","title":"Research Analyst","address":{"address":"425 Sixth Street","city":"Indianapolis","state":"Oklahoma","stateCode":"OK","postalCode":"74263","coordinates":{"lat":74.986644,"lng":-132.916888},"country":"United States"}},"ein":"921-709","ssn":"836-772-168","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body contains required fields | 1 | 0 | 0 |
| required fields have correct data types | 1 | 0 | 0 |
| returned user id matches requested user id | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Search User-By Query
## Overview
This request searches for users in the system based on a query parameter. It allows you to find users by matching the search term against user attributes like first name, last name, or username.
## Purpose
This endpoint exists to enable user search functionality within the application. It solves the problem of quickly locating specific users from a potentially large user database by providing a flexible search mechanism. This is essential for features like user lookup, admin panels, or any interface requiring user selection or filtering.
## Expected Behaviour
When executed with a valid search query, the request should:
- Return a 200 OK status code
- Respond within 2000 milliseconds
- Return a JSON response containing a `users` array
- Include at least one user object in the array if matches are found
- Each user object should contain complete user information matching the search criteria
## Request Details
**Method:** `GET`
**URL:** `https://dummyjson.com/users/search?q=Emily`
**Query Parameters:**
- `q` - The search query string used to find matching users
**Headers:** Standard headers for GET requests
**Body:** No request body (GET request)
## Variables Used
- **baseUrl** - The base URL of the API endpoint (e.g., https://dummyjson.com)
- **user_query** - The search term used to query users (e.g., a name or username fragment)
## Response Details
**Expected Response Structure:**
```json
{
"users": [
{
"id": number,
"firstName": string,
"lastName": string,
"email": string,
"username": string,
// ... additional user fields
}
]
}
```
**Response Fields:**
- `users` - Array containing user objects that match the search query
- `id` - Unique numeric identifier for the user
- `firstName` - User's first name (string)
- `lastName` - User's last name (string)
- `email` - User's email address (string)
- `username` - User's username (string)
The search query is matched against user attributes, and all matching users are returned in the response array.
## Test Validations
This request includes comprehensive automated test validations:
1. **Status Code Validation** - Verifies the response status code is 200 (OK)
2. **Performance Validation** - Ensures the response time is less than 2000 milliseconds
3. **Content-Type Validation** - Confirms the response Content-Type header is `application/json`
4. **Response Structure Validation** - Checks that the response body contains a `users` property that is an array
5. **Non-Empty Results Validation** - Verifies that the search returns at least one user (users array is not empty for valid searches)
6. **Required Fields Validation** - Ensures each user object in the response contains all required fields: `id`, `firstName`, `lastName`, `email`, and `username`
7. **Data Type Validation** - Validates that each required field has the correct data type:
- `id` must be a number
- `firstName` must be a string
- `lastName` must be a string
- `email` must be a string
- `username` must be a string
8. **Search Query Reflection Validation** - Confirms that the search query is reflected in the response by checking if the query term appears in the user's firstName or lastName (case-insensitive matching)
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6895f3e0-f623-4a81-ab3d-7ce23c844e66 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:04 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 95 |
| x-ratelimit-reset | 1769721611 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"b33-ZT0uf5XOK4s2qOhUtFgDIwmO9nw" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=EU4hGehYR1AOy2Esq%2BzzXKW%2BfCf1zsHY7Jnz%2Bm7Z1F5U2tx0hYeYBkgCFYM22XQ%2B7m%2B508hQGp281rCe7IOybmMcPOZL9k7%2F24%2BIOG%2BBv2T%2FW2E2d2r4nRE%3D"}]} |
| CF-RAY | 9c5bc57e1c120c5b-AMM |
{"users":[{"id":1,"firstName":"Emily","lastName":"Johnson","maidenName":"Smith","age":29,"gender":"female","email":"emily.johnson@x.dummyjson.com","phone":"+81 965-431-3024","username":"emilys","password":"emilyspass","birthDate":"1996-5-30","image":"https://dummyjson.com/icon/emilys/128","bloodGroup":"O-","height":193.24,"weight":63.16,"eyeColor":"Green","hair":{"color":"Brown","type":"Curly"},"ip":"42.48.100.32","address":{"address":"626 Main Street","city":"Phoenix","state":"Mississippi","stateCode":"MS","postalCode":"29112","coordinates":{"lat":-77.16213,"lng":-92.084824},"country":"United States"},"macAddress":"47:fa:41:18:ec:eb","university":"University of Wisconsin--Madison","bank":{"cardExpire":"05/28","cardNumber":"3693233511855044","cardType":"Diners Club International","currency":"GBP","iban":"GB74MH2UZLR9TRPHYNU8F8"},"company":{"department":"Engineering","name":"Dooley, Kozey and Cronin","title":"Sales Manager","address":{"address":"263 Tenth Street","city":"San Francisco","state":"Wisconsin","stateCode":"WI","postalCode":"37657","coordinates":{"lat":71.814525,"lng":-161.150263},"country":"United States"}},"ein":"977-175","ssn":"900-590-289","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"},{"id":103,"firstName":"Emily","lastName":"Brown","maidenName":"Taylor","age":43,"gender":"female","email":"emily.brown@x.dummyjson.com","phone":"+61 875-999-8871","username":"emilyt","password":"emilytpass","birthDate":"1982-12-5","image":"https://dummyjson.com/icon/emilyt/128","bloodGroup":"AB-","height":181.96,"weight":89.65,"eyeColor":"Blue","hair":{"color":"Brown","type":"Kinky"},"ip":"41.156.197.109","address":{"address":"1962 Fourth Street","city":"Houston","state":"Hawaii","stateCode":"HI","postalCode":"67104","coordinates":{"lat":-64.336051,"lng":135.876737},"country":"United States"},"macAddress":"3b:9b:ee:cf:1f:de","university":"Georgetown University","bank":{"cardExpire":"09/30","cardNumber":"374970244492890","cardType":"American Express","currency":"INR","iban":"DE06646067555223276327"},"company":{"department":"Research and Development","name":"Pfannerstill Inc","title":"Data Analyst","address":{"address":"1998 Main Street","city":"Indianapolis","state":"Arizona","stateCode":"AZ","postalCode":"57190","coordinates":{"lat":-83.995771,"lng":127.669213},"country":"United States"}},"ein":"844-425","ssn":"119-906-830","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"}],"total":2,"skip":0,"limit":2}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000 ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body contains users array | 1 | 0 | 0 |
| search return at least one product | 1 | 0 | 0 |
| each user has required fields | 1 | 0 | 0 |
| required fields have correct data types | 1 | 0 | 0 |
| search query is reflected in the response | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Add New User
## Overview
This request creates a new user in the system by submitting user information to the API endpoint.
## Purpose
This endpoint exists to allow the creation of new user records in the database. It solves the problem of programmatically adding users to the system with their basic information including first name, last name, and age.
## Expected Behaviour
When executed with valid user data, this request will:
- Submit the user information to the server
- Generate a unique ID for the new user
- Return the complete user object including the generated ID and all submitted fields
- Complete the operation within 2 seconds
- Return a 201 Created status code indicating successful user creation
## Request Details
**Method:** `POST`
**URL:** `https://dummyjson.com/users/add`
**Headers:**
- Content-Type: application/json
**Request Body Structure:**
```json
{
"firstName": "Rio",
"lastName": "Brown",
"age": 23
}
```
The request body accepts a JSON object with the following fields:
- `firstName` (string): The user's first name
- `lastName` (string): The user's last name
- `age` (number): The user's age
## Variables Used
- **baseUrl**: The base URL for the API endpoint. This variable should be configured in the active environment to point to the appropriate API server.
## Response Details
**Expected Status Code:** `201 Created`
**Response Structure:**
The API returns a JSON object containing the newly created user with all submitted fields plus a generated ID:
```json
{
"id": 1,
"firstName": "Rio",
"lastName": "Brown",
"age": 23
}
```
**Response Fields:**
- `id` (number): Auto-generated unique identifier for the user
- `firstName` (string): The user's first name (as submitted)
- `lastName` (string): The user's last name (as submitted)
- `age` (number): The user's age (as submitted)
**Response Headers:**
- Content-Type: application/json
## Test Validations
This request includes comprehensive automated test validations in the post-response script:
1. **Status Code Validation**: Verifies that the response status code is 201 (Created)
2. **Performance Validation**: Ensures the response time is less than 2000ms (2 seconds)
3. **Content-Type Validation**: Confirms the response Content-Type header includes "application/json"
4. **Response Structure Validation**: Checks that the response body is a valid JSON object
5. **ID Field Validation**: Verifies that the response body contains an "id" property and that it is of number data type
6. **Request Body Keys Validation**: Ensures all keys from the request body (firstName, lastName, age) are present in the returned user object
7. **Request Body Values Validation**: Confirms that all values from the request body match exactly with the corresponding values in the returned user object
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 21bf2888-9b00-478d-ae87-c4ead9ceafae |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 67 |
{
"firstName":"Rio",
"lastName":"Brown",
"age":23
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:05 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 765 |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 95 |
| x-ratelimit-reset | 1769721613 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"2fd-nFcmD7kMdMOb/8rPqNwVqPg5Fk4" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=4kznVRmIaTGiiKCcubZcR%2Bhau%2FXqGJRABKcgQKjCvB0lryhgaTO5lKSZ0sYXdKi8TyOA9LCVwGet03FQeDcMC%2F%2BpDYypq3JuWW21OHExvFFlMl1VGB6UMpo%3D"}]} |
| CF-RAY | 9c5bc57fa83d0c5b-AMM |
{"id":209,"firstName":"Rio","lastName":"Brown","maidenName":"","age":23,"gender":"","email":"","phone":"","username":"","password":"","birthDate":"","image":"","bloodGroup":"","height":null,"weight":null,"eyeColor":"","hair":{"color":"","type":""},"ip":"","address":{"address":"","city":"","state":"","stateCode":"","postalCode":"","coordinates":{"lat":null,"lng":null},"country":""},"macAddress":"","university":"","bank":{"cardExpire":"","cardNumber":"","cardType":"","currency":"","iban":""},"company":{"department":"","name":"","title":"","address":{"address":"","city":"","state":"","stateCode":"","postalCode":"","coordinates":{"lat":null,"lng":null},"country":""}},"ein":"","ssn":"","userAgent":"","crypto":{"coin":"","wallet":"","network":""},"role":"user"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 201 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-Type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body has id key and is number data type | 1 | 0 | 0 |
| returned user contains all request body keys | 1 | 0 | 0 |
| returned user contains all request body values | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Update User
## Overview
This request updates an existing user's information in the system by sending a PATCH request with the modified fields.
## Purpose
This endpoint allows you to modify specific attributes of an existing user without affecting other user data. It's designed for partial updates, making it efficient when you only need to change certain fields like name or age rather than replacing the entire user object.
## Expected Behaviour
When executed successfully, this request will:
- Update only the specified fields (lastName and age) for the user identified by `user_id`
- Return the complete updated user object with all modified fields reflected
- Maintain all other user properties that were not included in the request body
- Respond with a 200 status code indicating successful update
## Request Details
**Method:** `PATCH`
**URL:** `https://dummyjson.com/users/6`
**Headers:**
- Content-Type: application/json
**Request Body Structure:**
```json
{
"lastName": "Ellie",
"age": 30
}
```
The request body accepts a JSON object containing the fields you want to update. In this example:
- `lastName` (string): The user's last name to be updated
- `age` (integer): The user's age to be updated
You can include any valid user fields that need modification.
## Variables Used
This request uses the following variables:
- **`baseUrl`**: The base URL of the API endpoint (e.g., https://dummyjson.com)
- **`user_id`**: The unique identifier of the user to be updated
These variables should be defined in your environment or collection variables.
## Response Details
**Expected Status Code:** `200 OK`
**Response Structure:**
The API returns a complete user object with all the updated fields reflected:
```json
{
"id": 1,
"firstName": "John",
"lastName": "Ellie",
"age": 30,
"email": "user@example.com",
// ... other user properties
}
```
The response will include:
- All fields that were updated (matching the request body values)
- All other user properties that remained unchanged
- Content-Type header set to `application/json`
## Test Validations
This request includes 5 automated test assertions that validate the response:
1. **Status Code Validation**
- Verifies that the response status code is 200
- Ensures the update operation was successful
2. **Response Time Check**
- Confirms the response time is less than 2000ms
- Ensures the API performs within acceptable time limits
3. **Content-Type Validation**
- Checks that the response Content-Type header is `application/json`
- Ensures the response format is correct
4. **Response Body Type Check**
- Validates that the response body is a JSON object
- Ensures proper data structure is returned
5. **Field Update Verification**
- Dynamically validates that all fields sent in the request body are correctly updated in the response
- Compares each key-value pair from the request body with the corresponding values in the response
- Ensures data integrity and confirms the update was applied correctly
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c5b9da64-6fce-42a2-9d5d-4115a78af483 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 43 |
{
"lastName":"Ellie",
"age":30
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:05 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 89 |
| x-ratelimit-reset | 1769721607 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"58b-VdgOZJsb+olYSZCa4N0eopc5NYM" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=nLsyLdr%2BdD22KNLAw2D9tVcwCWotUDGrkiAtkP28jymr8Sk94xSPl4FUyMDzBOv6LSqfUA38iAzBTgAoukKZrmMHXlXbPNT1RqoIkmiQmB3Xk%2FjWEE5FL%2Bk%3D"}]} |
| CF-RAY | 9c5bc5812bbb0c5b-AMM |
{"id":6,"firstName":"Olivia","lastName":"Ellie","maidenName":"","age":30,"gender":"female","email":"olivia.wilson@x.dummyjson.com","phone":"+91 607-295-6448","username":"oliviaw","password":"oliviawpass","birthDate":"2002-4-20","image":"https://dummyjson.com/icon/oliviaw/128","bloodGroup":"B+","height":182.61,"weight":58,"eyeColor":"Hazel","hair":{"color":"Gray","type":"Curly"},"ip":"249.178.112.207","address":{"address":"547 First Street","city":"Fort Worth","state":"Tennessee","stateCode":"TN","postalCode":"83843","coordinates":{"lat":75.32627,"lng":-26.15285},"country":"United States"},"macAddress":"9c:7f:ea:34:18:19","university":"University of North Carolina--Chapel Hill","bank":{"cardExpire":"06/30","cardNumber":"376320072452632","cardType":"American Express","currency":"NZD","iban":"DE21153814367894194071"},"company":{"department":"Product Management","name":"Pfannerstill Inc","title":"Research Analyst","address":{"address":"425 Sixth Street","city":"Indianapolis","state":"Oklahoma","stateCode":"OK","postalCode":"74263","coordinates":{"lat":74.986644,"lng":-132.916888},"country":"United States"}},"ein":"921-709","ssn":"836-772-168","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| edited fields are updated | 1 | 0 | 0 |
| Total | 5 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Delete User
## Overview
This request deletes a user from the system by sending a DELETE request to the users endpoint with a specific user ID.
## Purpose
This endpoint exists to permanently remove user accounts from the system. It solves the need for user account management, allowing administrators or authorized users to delete user records when they are no longer needed, when users request account deletion, or for data cleanup purposes.
## Expected Behaviour
When this request is executed successfully:
- The system locates the user by the provided `user_id`
- The user account is marked as deleted in the database
- A confirmation response is returned with deletion status and timestamp
- The response includes a boolean flag confirming deletion and the exact time of deletion
- All validations pass confirming the deletion was successful
## Request Details
**Method:** `DELETE`
**URL:** `https://dummyjson.com/users/6`
**Headers:** Standard headers are applied automatically
**Request Body:** This request does not require a request body
## Variables Used
| Variable | Description |
|----------|-------------|
| `baseUrl` | The base URL of the API endpoint |
| `user_id` | The unique identifier of the user to be deleted |
## Response Details
The API returns a JSON object with the following structure:
**Response Fields:**
| Field | Type | Description |
|-------|------|-------------|
| `isDeleted` | boolean | Indicates whether the user was successfully deleted (should be `true`) |
| `deletedOn` | string | Timestamp indicating when the user was deleted |
**Example Response:**
```json
{
"isDeleted": true,
"deletedOn": "2024-01-15T10:30:00.000Z"
}
```
## Test Validations
This request includes 7 automated test assertions to validate the response:
1. **Status Code Validation** - Verifies that the response status code is 200 (OK)
2. **Response Time Check** - Ensures the response time is less than 2000ms for performance monitoring
3. **Content-Type Validation** - Confirms the response Content-Type header is `application/json`
4. **Response Structure Check** - Validates that the response body is a valid JSON object
5. **isDeleted Property Validation** - Verifies that the response contains an `isDeleted` property with boolean data type
6. **deletedOn Property Validation** - Verifies that the response contains a `deletedOn` property with string data type
7. **Deletion Confirmation** - Confirms that the `isDeleted` field is `true`, indicating successful user deletion
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a13284cb-0d5b-42b9-bb30-fb4c2523c121 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:05 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 92 |
| x-ratelimit-reset | 1769721607 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"5c4-x3qJOAHKS2Xk+USjJR3DAadOT9o" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=J9asFVDSNdSnZLx7DzFt1Swjb8NGiqps0VYFzyuWJUcwenUJNyL2FIli90NKOZhiOgqB83gHstiRxu48cT2tZK0o%2FKbQrYdiUsO1FEB79lzWLdJlmpiS0w8%3D"}]} |
| CF-RAY | 9c5bc582afb70c5b-AMM |
{"id":6,"firstName":"Olivia","lastName":"Wilson","maidenName":"","age":23,"gender":"female","email":"olivia.wilson@x.dummyjson.com","phone":"+91 607-295-6448","username":"oliviaw","password":"oliviawpass","birthDate":"2002-4-20","image":"https://dummyjson.com/icon/oliviaw/128","bloodGroup":"B+","height":182.61,"weight":58,"eyeColor":"Hazel","hair":{"color":"Gray","type":"Curly"},"ip":"249.178.112.207","address":{"address":"547 First Street","city":"Fort Worth","state":"Tennessee","stateCode":"TN","postalCode":"83843","coordinates":{"lat":75.32627,"lng":-26.15285},"country":"United States"},"macAddress":"9c:7f:ea:34:18:19","university":"University of North Carolina--Chapel Hill","bank":{"cardExpire":"06/30","cardNumber":"376320072452632","cardType":"American Express","currency":"NZD","iban":"DE21153814367894194071"},"company":{"department":"Product Management","name":"Pfannerstill Inc","title":"Research Analyst","address":{"address":"425 Sixth Street","city":"Indianapolis","state":"Oklahoma","stateCode":"OK","postalCode":"74263","coordinates":{"lat":74.986644,"lng":-132.916888},"country":"United States"}},"ein":"921-709","ssn":"836-772-168","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator","isDeleted":true,"deletedOn":"2026-01-29T21:20:05.612Z"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body has is deleted property with correct data type | 1 | 0 | 0 |
| response body has deleted on property with correct data type | 1 | 0 | 0 |
| user is deleted | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Get User with Invalid ID
## Overview
This is a negative test case designed to verify the API's error handling when attempting to retrieve a user with an invalid user ID. The request tests how the system responds to malformed or non-existent user identifiers.
## Purpose
This request exists to validate that the API properly handles error scenarios and returns appropriate error responses when invalid data is provided. It ensures that:
- The API returns the correct HTTP status code for invalid requests
- Error messages are properly formatted and informative
- The system gracefully handles edge cases without crashing
## Expected Behaviour
When this request is executed with an invalid user ID, the API should:
- Return a **404 Not Found** status code
- Provide a JSON response containing an error message
- Include a descriptive message indicating that the user was not found
- Handle the error gracefully without exposing sensitive system information
## Request Details
- **Method**: `GET`
- **URL**: `https://dummyjson.com/users/99999999`
- **Headers**: Standard headers (if any are set at collection/folder level)
- **Request Body**: None (GET requests do not have a request body)
## Variables Used
This request uses the following variables:
- **`baseUrl`**: The base URL of the API endpoint (e.g., `https://dummyjson.com`)
- **`invalid_id`**: An invalid user ID value used to trigger the error response (e.g., a non-existent ID, malformed string, or negative number)
## Response Details
The expected error response structure when an invalid user ID is provided:
**Status Code**: `404 Not Found`
**Response Body** (JSON):
```json
{
"message": "User not found"
}
```
The response should contain:
- A `message` field with a descriptive error message
- The message text should include "not found" (case-insensitive)
## Test Validations
This request includes three automated test assertions in the post-response script:
1. **Status Code Validation**: Verifies that the response status code is `404`
- Ensures the API returns the correct HTTP status for invalid user IDs
2. **Error Message Property Check**: Confirms that the response body contains a `message` property
- Validates that the error response follows the expected structure
3. **Error Message Content Validation**: Checks that the error message includes "not found" text
- Ensures the error message is descriptive and indicates the user was not found
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 795e59ae-21d5-4251-b4a1-e42e213864c6 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:05 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 88 |
| x-ratelimit-reset | 1769721607 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"2f-toGsrVi0XdPkGLD1S0/ZZF22Ihs" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=dw1oad3b5OlA3dc0%2BHh60H%2F4Y%2Bo70TQXcPy3IqdUMLYyvs7vA%2FY%2FSOHkabXcXkN84dq47wO5tvLUgBxRjhp%2BSSSWsb8h9OHWQ%2B4cmS%2BwAG0cDYV71Sr5cwQ%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc5846c870c5b-AMM |
{"message":"User with id '99999999' not found"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| response body contains error message | 1 | 0 | 0 |
| response body contains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Login-Valid Credentials
# Overview
This endpoint authenticates a user and returns access and refresh tokens for subsequent API requests.
# Purpose
To authenticate users with valid credentials and obtain JWT tokens (access token and refresh token) required for accessing protected endpoints in the DummyJSON API.
# Expected Behavior
- Accepts user credentials (username and password)
- Validates the credentials against the authentication system
- Returns authentication tokens and user information upon successful login
- Stores tokens in environment variables for use in subsequent requests
# Request Details
- **Method**: POST
- **Endpoint**: `https://dummyjson.com/auth/login`
- **Content-Type**: application/json
- **Body**:
``` json
{
"username": "emilys",
"password": "emilyspass"
}
```
# Variables Used
- **baseUrl**: The base URL for the API endpoint
- **logged_in_username**: Set in pre-request script from the request body username field
# Response Details
The successful response returns a JSON object containing:
- **accessToken**: JWT token for authenticating API requests
- **refreshToken**: Token used to refresh the access token when it expires
- **id**: Unique identifier for the authenticated user
- **username**: Username of the authenticated user
- Additional user profile information
# Test Validations
The post-response script performs the following validations:
- Status code is 200
- Response time is less than 2000ms
- Content-Type header is application/json
- Response body is a valid JSON object
- Response contains `accessToken` and `refreshToken` properties
- Both tokens are not empty
- Response contains user `id` property
- User ID is a number
- Returned username matches the logged-in username
**Environment Variables Set**:
- `access_token`: Stored for authorization in subsequent requests
- `refresh_token`: Stored for token refresh operations
- `logged_in_username`: Stored for validation purposes
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f6489b44-5108-4977-a23a-078cf00a1e59 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 61 |
{
"username": "emilys",
"password": "emilyspass"
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:06 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 91 |
| x-ratelimit-reset | 1769721607 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| Set-Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE2MDYsImV4cCI6MTc2OTcyNTIwNn0.lbMRzHgBJMcb2EOgOige5EENA32h68LcNvLYadNmHGQ; Max-Age=3600; Path=/; Expires=Thu, 29 Jan 2026 22:20:06 GMT; HttpOnly; Secure |
| Set-Cookie | refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE2MDYsImV4cCI6MTc3MjMxMzYwNn0.8dfdzRcDG3V7uVBzzelljvJRGXt9SWmcSqmh7ZaoZVc; Max-Age=3600; Path=/; Expires=Thu, 29 Jan 2026 22:20:06 GMT; HttpOnly; Secure |
| etag | W/"3a2-ysctoV478J4LftPk3vcxOmUsGZA" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=2I%2FPt66soWfWOTU0PUcHiSBQONyqP%2BjgTPO7hA3BY7iLWOZ4r4GN8lkTNxdDjuD3SUvf0dswAVRfUthHlyvGW5E2BRF3HEShBaFno8ywhKRqooeRalxO%2Byw%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc585e82a0c5b-AMM |
{"accessToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE2MDYsImV4cCI6MTc2OTcyNTIwNn0.lbMRzHgBJMcb2EOgOige5EENA32h68LcNvLYadNmHGQ","refreshToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE2MDYsImV4cCI6MTc3MjMxMzYwNn0.8dfdzRcDG3V7uVBzzelljvJRGXt9SWmcSqmh7ZaoZVc","id":1,"username":"emilys","email":"emily.johnson@x.dummyjson.com","firstName":"Emily","lastName":"Johnson","gender":"female","image":"https://dummyjson.com/icon/emilys/128"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000 ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| Response body is json object | 1 | 0 | 0 |
| Response body contains access token | 1 | 0 | 0 |
| Response body contains refresh token | 1 | 0 | 0 |
| access token is not empty | 1 | 0 | 0 |
| refresh token is not empty | 1 | 0 | 0 |
| response body contains user id | 1 | 0 | 0 |
| user id is a number | 1 | 0 | 0 |
| returned user matches logged in user | 1 | 0 | 0 |
| Total | 11 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Current User
## Overview
This endpoint retrieves information about the currently authenticated user.
## Purpose
To fetch the profile details of the logged-in user, including their unique identifier, username, and email address.
## Expected Behavior
When called with valid authentication, this endpoint returns the current user's profile data in JSON format with a 200 status code.
## Request Details
- **Method**: GET
- **Endpoint**: `https://dummyjson.com/auth/me`
- **Authentication**: Required (uses `access_token`)
- **Request Body**: None
## Variables Used
- `baseUrl` - The base URL for the API
- `access_token` - Authentication token for the current user
- `logged_in_username` - Used in test validation to verify the returned user
## Response Details
The response returns a JSON object containing:
- `id` (number) - Unique identifier for the user
- `username` (string) - Username of the authenticated user
- `email` (string) - Email address in valid format
## Test Validations
The following automated tests are executed on the response:
- Status code is 200
- Response time is less than 2000ms
- Content-Type header is application/json
- Response body is a valid JSON object
- Response contains required fields: id, username, and email
- User id is a number and username is a string
- Email follows valid email format (pattern: `^\S+@\S+\.\S+$`)
- Returned username matches the logged-in user's username
| Header Name | Header Value |
|---|---|
| Authorization | Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE2MDYsImV4cCI6MTc2OTcyNTIwNn0.lbMRzHgBJMcb2EOgOige5EENA32h68LcNvLYadNmHGQ |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 688824f2-c258-458d-b53f-7ad3ba04fb79 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE2MDYsImV4cCI6MTc2OTcyNTIwNn0.lbMRzHgBJMcb2EOgOige5EENA32h68LcNvLYadNmHGQ; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE2MDYsImV4cCI6MTc3MjMxMzYwNn0.8dfdzRcDG3V7uVBzzelljvJRGXt9SWmcSqmh7ZaoZVc |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:06 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 99 |
| x-ratelimit-reset | 1769721617 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"58f-CoL/KoXlW3x1PtqQr3wqPsXj6DE" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=S%2BUBta78gA27%2FIjqnkt227WQEUKp8DWoMbOhNqS%2BcIJXsWsqG6VJIC%2BFY4jcJ5rZiH0%2BNusES3FdFNHE5f1IyCznh7ZQ4paQPX1BuocoalVULiIPhBpJr10%3D"}]} |
| CF-RAY | 9c5bc5876c730c5b-AMM |
{"id":1,"firstName":"Emily","lastName":"Johnson","maidenName":"Smith","age":29,"gender":"female","email":"emily.johnson@x.dummyjson.com","phone":"+81 965-431-3024","username":"emilys","password":"emilyspass","birthDate":"1996-5-30","image":"https://dummyjson.com/icon/emilys/128","bloodGroup":"O-","height":193.24,"weight":63.16,"eyeColor":"Green","hair":{"color":"Brown","type":"Curly"},"ip":"42.48.100.32","address":{"address":"626 Main Street","city":"Phoenix","state":"Mississippi","stateCode":"MS","postalCode":"29112","coordinates":{"lat":-77.16213,"lng":-92.084824},"country":"United States"},"macAddress":"47:fa:41:18:ec:eb","university":"University of Wisconsin--Madison","bank":{"cardExpire":"05/28","cardNumber":"3693233511855044","cardType":"Diners Club International","currency":"GBP","iban":"GB74MH2UZLR9TRPHYNU8F8"},"company":{"department":"Engineering","name":"Dooley, Kozey and Cronin","title":"Sales Manager","address":{"address":"263 Tenth Street","city":"San Francisco","state":"Wisconsin","stateCode":"WI","postalCode":"37657","coordinates":{"lat":71.814525,"lng":-161.150263},"country":"United States"}},"ein":"977-175","ssn":"900-590-289","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body contains user id, username and user email | 1 | 0 | 0 |
| user id is a number and username is a string | 1 | 0 | 0 |
| user email is a valid email | 1 | 0 | 0 |
| returned user matches logged in user | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Refresh Authentication Token
### Overview
This endpoint refreshes the authentication tokens by validating the provided refresh token and issuing new access and refresh tokens.
### Purpose
To obtain new authentication tokens when the current access token expires, ensuring continuous authenticated access to the API without requiring the user to log in again.
### Expected Behavior
The endpoint validates the refresh token and returns a new pair of tokens (access token and refresh token) that can be used for subsequent authenticated requests.
### Request Details
- **Method:** POST
- **Endpoint:** `https://dummyjson.com/auth/refresh`
- **Body Type:** JSON (raw)
- **Request Body:**
``` json
{
"refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE2MDYsImV4cCI6MTc3MjMxMzYwNn0.8dfdzRcDG3V7uVBzzelljvJRGXt9SWmcSqmh7ZaoZVc"
}
```
### Variables Used
- `baseUrl` - The base URL for the API
- `refresh_token` - The current refresh token stored in the environment
### Response Details
The successful response returns a JSON object containing:
- `accessToken` - A new access token for authenticating API requests
- `refreshToken` - A new refresh token for future token refresh operations
**Example Response:**
``` json
{
"accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
}
```
### Test Validations
The post-response script validates the following:
- ✓ Status code is 200
- ✓ Response time is less than 2000ms
- ✓ Content-Type header is application/json
- ✓ Response body is a valid JSON object
- ✓ Response contains `accessToken` property
- ✓ Response contains `refreshToken` property
- ✓ Access token is not empty
- ✓ Refresh token is not empty
- ✓ New tokens are automatically saved to environment variables (`access_token` and `refresh_token`)
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 2ff20a64-0348-4b53-ac31-109d8dca68cb |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 388 |
| Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE2MDYsImV4cCI6MTc2OTcyNTIwNn0.lbMRzHgBJMcb2EOgOige5EENA32h68LcNvLYadNmHGQ; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE2MDYsImV4cCI6MTc3MjMxMzYwNn0.8dfdzRcDG3V7uVBzzelljvJRGXt9SWmcSqmh7ZaoZVc |
{
"refreshToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE2MDYsImV4cCI6MTc3MjMxMzYwNn0.8dfdzRcDG3V7uVBzzelljvJRGXt9SWmcSqmh7ZaoZVc"
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:06 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 94 |
| x-ratelimit-reset | 1769721613 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| Set-Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE2MDYsImV4cCI6MTc2OTcyNTIwNn0.lbMRzHgBJMcb2EOgOige5EENA32h68LcNvLYadNmHGQ; Max-Age=3600; Path=/; Expires=Thu, 29 Jan 2026 22:20:06 GMT; HttpOnly; Secure |
| Set-Cookie | refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE2MDYsImV4cCI6MTc3MjMxMzYwNn0.8dfdzRcDG3V7uVBzzelljvJRGXt9SWmcSqmh7ZaoZVc; Max-Age=3600; Path=/; Expires=Thu, 29 Jan 2026 22:20:06 GMT; HttpOnly; Secure |
| etag | W/"2f4-PEh71x2LRW/UD7gYBdReA2pITVM" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=Zypwh54Rchr1OmgK9dWElsbflD9vY2EmLphwhaMENk1keVHiujAtXEyHhRst4BaMFSCIw%2Bhx424aTCUgy0ZgFDjIOHzXVmMy5EQySJalQPY1gY7xfVjD82I%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc588e80e0c5b-AMM |
{"accessToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE2MDYsImV4cCI6MTc2OTcyNTIwNn0.lbMRzHgBJMcb2EOgOige5EENA32h68LcNvLYadNmHGQ","refreshToken":"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE2MDYsImV4cCI6MTc3MjMxMzYwNn0.8dfdzRcDG3V7uVBzzelljvJRGXt9SWmcSqmh7ZaoZVc"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body contains access token | 1 | 0 | 0 |
| response body contains refresh token | 1 | 0 | 0 |
| access token is not empty | 1 | 0 | 0 |
| refresh token is not empty | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Current User-After Refresh
## Overview
This endpoint retrieves the currently authenticated user's profile information using a valid access token. It returns comprehensive user details including personal information, contact details, and account metadata.
## Purpose
This endpoint is used to verify the user's authentication status and retrieve their profile data after a token refresh operation. It plays a critical role in the authentication flow by:
- Confirming that the refreshed access token is valid
- Retrieving the authenticated user's complete profile
- Validating that the correct user session is maintained after token refresh
## Expected Behavior
When executed successfully, this request will:
1. Authenticate the user using the Bearer token in the Authorization header
2. Return a 200 OK status code
3. Provide a JSON response containing the authenticated user's complete profile information
4. Complete within 2000ms response time
5. Return user data that matches the logged-in user's credentials
## Request Details
- **HTTP Method**: `GET`
- **Endpoint**: `https://dummyjson.com/auth/me`
- **Authentication**: Bearer Token (uses `access_token` variable)
- **Headers**:
- `Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE2MDYsImV4cCI6MTc2OTcyNTIwNn0.lbMRzHgBJMcb2EOgOige5EENA32h68LcNvLYadNmHGQ`
## Variables Used
| Variable | Description |
|----------|-------------|
| `baseUrl` | The base URL for the API endpoint |
| `access_token` | Bearer token for authentication, obtained after login or token refresh |
| `logged_in_username` | Used in test validation to verify the returned user matches the authenticated session |
## Response Details
### Success Response
- **Status Code**: `200 OK`
- **Content-Type**: `application/json`
### Response Body Structure
```json
{
"id": number,
"username": string,
"email": string,
"firstName": string,
"lastName": string,
"maidenName": string,
"age": number,
"gender": string,
"phone": string,
"birthDate": string,
"image": string,
"bloodGroup": string,
"height": number,
"weight": number,
"eyeColor": string,
"hair": {
"color": string,
"type": string
},
"address": object,
"company": object,
"bank": object,
"role": string
}
```
### Key Response Fields
- **id**: Unique user identifier (number)
- **username**: User's login username (string)
- **email**: User's email address (string, validated format)
- **firstName**: User's first name
- **lastName**: User's last name
- **phone**: Contact phone number
- **role**: User's role in the system (e.g., "admin")
## Test Validations
This request includes comprehensive automated test assertions to ensure proper functionality:
1. ✓ **Status code is 200** - Verifies successful authentication and request processing
2. ✓ **Response time is less than 2000ms** - Ensures acceptable API performance
3. ✓ **Content-Type is application/json** - Confirms proper response format
4. ✓ **Response body is a JSON object** - Validates response structure
5. ✓ **Response contains id, username, and email** - Ensures essential user fields are present
6. ✓ **User id is a number and username is a string** - Validates data types for key fields
7. ✓ **Email format validation** - Confirms email follows valid format pattern (regex: `^\S+@\S+\.\S+$`)
8. ✓ **Returned user matches logged-in user** - Verifies the username matches the `logged_in_username` environment variable, ensuring session integrity
| Header Name | Header Value |
|---|---|
| Authorization | Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE2MDYsImV4cCI6MTc2OTcyNTIwNn0.lbMRzHgBJMcb2EOgOige5EENA32h68LcNvLYadNmHGQ |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 23c87ad5-ae26-4f18-86c6-677fcf26501c |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE2MDYsImV4cCI6MTc2OTcyNTIwNn0.lbMRzHgBJMcb2EOgOige5EENA32h68LcNvLYadNmHGQ; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE2MDYsImV4cCI6MTc3MjMxMzYwNn0.8dfdzRcDG3V7uVBzzelljvJRGXt9SWmcSqmh7ZaoZVc |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:06 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 94 |
| x-ratelimit-reset | 1769721611 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"58f-CoL/KoXlW3x1PtqQr3wqPsXj6DE" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=%2FRnbxs8rqmblzycQ%2Bgg5kNHCPaTUIuVVsPoMiskrX05Xfk3NMvas0YzhJ316aqf4XU8IUrVgk37BTVEuFr3YQcK33zHwuuDCcQy26fVkYa%2Fz8YbjT8QQyA4%3D"}]} |
| CF-RAY | 9c5bc58a9c500c5b-AMM |
{"id":1,"firstName":"Emily","lastName":"Johnson","maidenName":"Smith","age":29,"gender":"female","email":"emily.johnson@x.dummyjson.com","phone":"+81 965-431-3024","username":"emilys","password":"emilyspass","birthDate":"1996-5-30","image":"https://dummyjson.com/icon/emilys/128","bloodGroup":"O-","height":193.24,"weight":63.16,"eyeColor":"Green","hair":{"color":"Brown","type":"Curly"},"ip":"42.48.100.32","address":{"address":"626 Main Street","city":"Phoenix","state":"Mississippi","stateCode":"MS","postalCode":"29112","coordinates":{"lat":-77.16213,"lng":-92.084824},"country":"United States"},"macAddress":"47:fa:41:18:ec:eb","university":"University of Wisconsin--Madison","bank":{"cardExpire":"05/28","cardNumber":"3693233511855044","cardType":"Diners Club International","currency":"GBP","iban":"GB74MH2UZLR9TRPHYNU8F8"},"company":{"department":"Engineering","name":"Dooley, Kozey and Cronin","title":"Sales Manager","address":{"address":"263 Tenth Street","city":"San Francisco","state":"Wisconsin","stateCode":"WI","postalCode":"37657","coordinates":{"lat":71.814525,"lng":-161.150263},"country":"United States"}},"ein":"977-175","ssn":"900-590-289","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body contains user id, username and user email | 1 | 0 | 0 |
| user id is a number and username is a string | 1 | 0 | 0 |
| user email is a valid email | 1 | 0 | 0 |
| returned user matches logged in user | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Login with Invalid Password
## Overview
This negative test case validates the API's behavior when a user attempts to authenticate with an invalid password. It ensures that the authentication endpoint properly rejects login attempts with incorrect credentials.
## Purpose
This negative test is important for verifying:
- **Security**: The API correctly denies access when invalid credentials are provided
- **Error Handling**: Appropriate error responses are returned to the client
- **Input Validation**: The authentication system properly validates password credentials
- **User Feedback**: Clear error messages are provided to help users understand authentication failures
## Expected Behavior
When invalid credentials are provided:
1. The API should reject the authentication attempt
2. Return a `400 Bad Request` status code
3. Provide a clear error message indicating invalid credentials
4. Not grant access tokens or authenticate the user
## Request Details
**HTTP Method:** `POST`
**Endpoint:** `https://dummyjson.com/auth/login`
**Content-Type:** `application/json`
**Request Body:**
```json
{
"username": "emilys",
"password": "wrongpass"
}
```
- `username`: Valid username (emilys)
- `password`: Invalid/incorrect password (wrongpass)
## Variables Used
- **baseUrl**: The base URL for the API (configured in the active environment)
## Response Details
**Status Code:** `400 Bad Request`
**Content-Type:** `application/json`
**Response Body Structure:**
```json
{
"message": "Invalid credentials"
}
```
The response contains:
- `message`: A string field containing the error description indicating that the provided credentials are invalid
## Test Validations
This request includes automated test assertions to verify the expected behavior:
1. ✓ **Status code is 400**: Validates that the API returns a `400 Bad Request` status code
2. ✓ **Response body contains error message field**: Ensures the response includes a `message` property
3. ✓ **Response body contains proper error message**: Verifies that the error message includes the text "invalid credentials" (case-insensitive)
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 6ca858ed-dcd2-4520-82bb-901c6d32196b |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 60 |
| Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE2MDYsImV4cCI6MTc2OTcyNTIwNn0.lbMRzHgBJMcb2EOgOige5EENA32h68LcNvLYadNmHGQ; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE2MDYsImV4cCI6MTc3MjMxMzYwNn0.8dfdzRcDG3V7uVBzzelljvJRGXt9SWmcSqmh7ZaoZVc |
{
"username": "emilys",
"password": "wrongpass"
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:07 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 33 |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 93 |
| x-ratelimit-reset | 1769721613 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"21-dBEoW0UmTF+EGUMaprEp9/8zNNA" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=j5NRzzAyve6ngT5QIY%2B2NVYIX%2FaKu2t%2BRJ%2F5TCauDAFFgFsasDqPL%2BecboSUwgkqRVCV3jTut2TK5KaL7gcC%2F2mAq0GJWuZeJp0oCd%2F5HEzvmyLQjFKYbLs%3D"}]} |
| CF-RAY | 9c5bc58c080a0c5b-AMM |
{"message":"Invalid credentials"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| response body contains error message field | 1 | 0 | 0 |
| response body contains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Login with Empty Password Field
## Overview
This negative test case validates the API's behavior when a login request is submitted with an empty password field. It ensures that the authentication endpoint properly handles and rejects incomplete login attempts.
## Purpose
This negative test is important to verify that the API:
- Enforces required field validation for authentication
- Returns appropriate error responses when mandatory fields are missing or empty
- Prevents authentication attempts with incomplete credentials
- Provides clear error messaging to help clients identify the issue
Testing empty/missing required fields is a critical aspect of API security and data validation, ensuring that the system doesn't process invalid requests.
## Expected Behavior
When the password field is empty (or missing), the API should:
- Reject the authentication request
- Return a `400 Bad Request` status code
- Provide a clear error message indicating that both username and password are required
- Not process the login attempt or generate any authentication tokens
## Request Details
**HTTP Method:** `POST`
**Endpoint:** `https://dummyjson.com/auth/login`
**Headers:**
- `Content-Type: application/json`
**Request Body:**
```json
{
"username": "emilys",
"password": ""
}
```
The request includes a valid username but an empty string for the password field, simulating a scenario where the user forgets to enter their password.
## Variables Used
- **baseUrl**: The base URL for the API (defined in the active environment)
## Response Details
**Status Code:** `400 Bad Request`
**Content-Type:** `application/json`
**Response Body Structure:**
```json
{
"message": "Username and password required"
}
```
The response contains a `message` field that provides a descriptive error message explaining why the request was rejected.
## Test Validations
The following automated test assertions are performed on the response:
1. **Status code is 400**: Verifies that the API returns a `400 Bad Request` status code, indicating a client-side error due to invalid input.
2. **Response body contains error message field**: Confirms that the response includes a `message` property, ensuring consistent error response structure.
3. **Response body contains proper error message**: Validates that the error message text includes "username and password required" (case-insensitive), ensuring the API provides meaningful feedback about the missing required fields.
These validations ensure that the API correctly handles incomplete authentication requests and provides appropriate error responses to guide API consumers.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 905e694f-e73c-455a-9d56-7d0fb2b01f5d |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 51 |
| Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE2MDYsImV4cCI6MTc2OTcyNTIwNn0.lbMRzHgBJMcb2EOgOige5EENA32h68LcNvLYadNmHGQ; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE2MDYsImV4cCI6MTc3MjMxMzYwNn0.8dfdzRcDG3V7uVBzzelljvJRGXt9SWmcSqmh7ZaoZVc |
{
"username": "emilys",
"password": ""
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:07 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 44 |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 93 |
| x-ratelimit-reset | 1769721611 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"2c-JAq5V8MKfWmWXvKJFTg6rvXRjdU" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=mxM1z9FZYAm3YDL%2Blmk6y54G6sfFBsLtY4mtBJowWHninpFFau2Md46a6Yx9v50gyhqFA1jKld%2Byqwp7YsJ3OZksTq%2BFNZrOeDyXghTxxrsdl%2BVlndKQ6yw%3D"}]} |
| CF-RAY | 9c5bc58d8c070c5b-AMM |
{"message":"Username and password required"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 400 | 1 | 0 | 0 |
| response body contains error message field | 1 | 0 | 0 |
| response body contains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Get Current User with Invalid Token
## Overview
This is a negative test case that validates the API's authentication mechanism by attempting to retrieve the current user's information using an invalid or expired authentication token.
## Purpose
This negative test is critical for verifying the security and robustness of the authentication system. It ensures that:
- The API properly rejects requests with invalid/expired tokens
- Unauthorized access is prevented when authentication credentials are compromised or outdated
- The system returns appropriate error messages to help identify authentication failures
- Security vulnerabilities related to token validation are not present
## Expected Behavior
When an invalid or expired token is used for authentication, the API should:
- Reject the request and deny access to protected resources
- Return a `401 Unauthorized` status code
- Provide a clear error message indicating the token is invalid or expired
- Not expose any sensitive user information
## Request Details
- **HTTP Method**: `GET`
- **Endpoint**: `https://dummyjson.com/auth/me`
- **Authentication**: Bearer Token (using `invalid token` variable)
## Variables Used
- **baseUrl**: The base URL for the API endpoint
- **invalid_token**: An invalid or expired authentication token used specifically for testing authentication failure scenarios
## Response Details
- **Status Code**: `401 Unauthorized`
- **Content-Type**: `application/json`
- **Response Body Structure**:
```json
{
"message": "Invalid/expired token"
}
```
The response contains a `message` field that provides details about the authentication error.
## Test Validations
This request includes automated test assertions to verify the expected behavior:
1. **Status code is 401**: Validates that the API returns the correct HTTP status code for unauthorized access
2. **Response body contains error message field**: Ensures the response includes a `message` property with error details
3. **Response body contains proper error message**: Verifies that the error message text includes "invalid/expired token" to clearly indicate the authentication failure reason
| Header Name | Header Value |
|---|---|
| Authorization | Bearer invalid token |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9f0edbaa-4cb7-4ad3-a671-9bf29cbbe6b9 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Cookie | accessToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE2MDYsImV4cCI6MTc2OTcyNTIwNn0.lbMRzHgBJMcb2EOgOige5EENA32h68LcNvLYadNmHGQ; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwidXNlcm5hbWUiOiJlbWlseXMiLCJlbWFpbCI6ImVtaWx5LmpvaG5zb25AeC5kdW1teWpzb24uY29tIiwiZmlyc3ROYW1lIjoiRW1pbHkiLCJsYXN0TmFtZSI6IkpvaG5zb24iLCJnZW5kZXIiOiJmZW1hbGUiLCJpbWFnZSI6Imh0dHBzOi8vZHVtbXlqc29uLmNvbS9pY29uL2VtaWx5cy8xMjgiLCJpYXQiOjE3Njk3MjE2MDYsImV4cCI6MTc3MjMxMzYwNn0.8dfdzRcDG3V7uVBzzelljvJRGXt9SWmcSqmh7ZaoZVc |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:07 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 36 |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 98 |
| x-ratelimit-reset | 1769721617 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| Set-Cookie | accessToken=; Path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT |
| Set-Cookie | refreshToken=; Path=/; Expires=Thu, 01 Jan 1970 00:00:00 GMT |
| etag | W/"24-xqucZbgfFI1MEKHBW2jR/IjHNdY" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=CXJLyHjVTydEQl60gwCMtfidJL734KxIr4IYXcqkTb2AIgiuCipEbOHGr66oEZCs1FW%2FZlfKo%2FAU4PSRE7%2F6R%2Bu4vY73Gu85KNv%2Fmzf1FLrYRBFGVKkVwHk%3D"}]} |
| CF-RAY | 9c5bc58f280d0c5b-AMM |
{"message":"Invalid/Expired Token!"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 401 | 1 | 0 | 0 |
| response body contains error message field | 1 | 0 | 0 |
| Response body cantains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Products-List
## Overview
This endpoint retrieves a list of products from the DummyJSON API. It returns a paginated collection of product items with their basic information.
## Purpose
This endpoint is used to:
- Retrieve the product catalog for browsing and display purposes
- Support product listing pages in e-commerce applications
- Enable pagination through large product datasets
- Allow selective field retrieval to optimize response payload
## Expected Behavior
When executed successfully, this request returns a paginated list of products in JSON format. The response includes:
- An array of product objects with their details
- Pagination metadata (total count, skip offset, limit)
- HTTP 200 OK status code
- Response time under 2000ms
## Request Details
**HTTP Method:** `GET`
**Endpoint:** `https://dummyjson.com/products`
**Optional Query Parameters:**
- `limit` - Number of products to return (e.g., `10`)
- `skip` - Number of products to skip for pagination (e.g., `10`)
- `select` - Comma-separated list of fields to include in response (e.g., `title,price`)
**Example Request:**
```
GET https://dummyjson.com/products?limit=10&skip=0&select=title,price
```
## Variables Used
- **baseUrl**: The base URL for the DummyJSON API (configured in the active environment)
## Response Details
**Status Code:** `200 OK`
**Content-Type:** `application/json`
**Response Body Structure:**
```json
{
"products": [
{
"id": 1,
"title": "Product Name",
"price": 99.99,
// ... other product fields
}
],
"total": 100,
"skip": 0,
"limit": 10
}
```
**Response Fields:**
- `products` (array) - Array of product objects
- `id` (number) - Unique product identifier
- `title` (string) - Product name/title
- `price` (number) - Product price
- `total` (number) - Total number of products available
- `skip` (number) - Number of products skipped in pagination
- `limit` (number) - Maximum number of products returned
## Test Validations
This request includes automated test assertions to validate:
✓ **Status code is 200** - Confirms successful request
✓ **Response time is less than 2000ms** - Ensures acceptable performance
✓ **Content-Type is application/json** - Validates correct response format
✓ **Response body contains products array** - Verifies main data structure exists
✓ **Products array is not empty** - Ensures data is returned
✓ **Each product has id, title and price** - Validates required fields presence
✓ **Each product id is number, title is string, price is number** - Validates correct data types
✓ **Response body contains pagination fields** - Confirms total, skip, and limit fields exist
✓ **Products count does not exceed limit** - Validates pagination logic
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 36467c26-2f93-463f-b14a-5806f8856a6c |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:07 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 99 |
| x-ratelimit-reset | 1769676639 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"ac3a-uk0FDUI0X0lS5liyUbIxqA7L7F4" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| Age | 44972 |
| Cache-Control | no-store |
| cf-cache-status | HIT |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=u9sgmJ%2FogaoW3WvoVaGTQvfGILLOMSM2a9wVlrxNgCsPVI6visBk9jclQtupNAdK5w7ZYwXiW3SnHsCsWAsN3npzdEiOBQtwvskkoOPgj8dKvTZegX2AtWE%3D"}]} |
| CF-RAY | 9c5bc5909b550c5b-AMM |
{"products":[{"id":1,"title":"Essence Mascara Lash Princess","description":"The Essence Mascara Lash Princess is a popular mascara known for its volumizing and lengthening effects. Achieve dramatic lashes with this long-lasting and cruelty-free formula.","category":"beauty","price":9.99,"discountPercentage":10.48,"rating":2.56,"stock":99,"tags":["beauty","mascara"],"brand":"Essence","sku":"BEA-ESS-ESS-001","weight":4,"dimensions":{"width":15.14,"height":13.08,"depth":22.99},"warrantyInformation":"1 week warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Collins","reviewerEmail":"eleanor.collins@x.dummyjson.com"},{"rating":4,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lucas Gordon","reviewerEmail":"lucas.gordon@x.dummyjson.com"},{"rating":5,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Collins","reviewerEmail":"eleanor.collins@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":48,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5784719087687","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/thumbnail.webp"},{"id":2,"title":"Eyeshadow Palette with Mirror","description":"The Eyeshadow Palette with Mirror offers a versatile range of eyeshadow shades for creating stunning eye looks. With a built-in mirror, it's convenient for on-the-go makeup application.","category":"beauty","price":19.99,"discountPercentage":18.19,"rating":2.86,"stock":34,"tags":["beauty","eyeshadow"],"brand":"Glamour Beauty","sku":"BEA-GLA-EYE-002","weight":9,"dimensions":{"width":9.26,"height":22.47,"depth":27.67},"warrantyInformation":"1 year warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Savannah Gomez","reviewerEmail":"savannah.gomez@x.dummyjson.com"},{"rating":4,"comment":"Awesome product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Christian Perez","reviewerEmail":"christian.perez@x.dummyjson.com"},{"rating":1,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nicholas Bailey","reviewerEmail":"nicholas.bailey@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":20,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"9170275171413","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/eyeshadow-palette-with-mirror/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/eyeshadow-palette-with-mirror/thumbnail.webp"},{"id":3,"title":"Powder Canister","description":"The Powder Canister is a finely milled setting powder designed to set makeup and control shine. With a lightweight and translucent formula, it provides a smooth and matte finish.","category":"beauty","price":14.99,"discountPercentage":9.84,"rating":4.64,"stock":89,"tags":["beauty","face powder"],"brand":"Velvet Touch","sku":"BEA-VEL-POW-003","weight":8,"dimensions":{"width":29.27,"height":27.93,"depth":20.59},"warrantyInformation":"3 months warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Alexander Jones","reviewerEmail":"alexander.jones@x.dummyjson.com"},{"rating":5,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Elijah Cruz","reviewerEmail":"elijah.cruz@x.dummyjson.com"},{"rating":1,"comment":"Very dissatisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Avery Perez","reviewerEmail":"avery.perez@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":22,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"8418883906837","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/powder-canister/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/powder-canister/thumbnail.webp"},{"id":4,"title":"Red Lipstick","description":"The Red Lipstick is a classic and bold choice for adding a pop of color to your lips. With a creamy and pigmented formula, it provides a vibrant and long-lasting finish.","category":"beauty","price":12.99,"discountPercentage":12.16,"rating":4.36,"stock":91,"tags":["beauty","lipstick"],"brand":"Chic Cosmetics","sku":"BEA-CHI-LIP-004","weight":1,"dimensions":{"width":18.11,"height":28.38,"depth":22.17},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Liam Garcia","reviewerEmail":"liam.garcia@x.dummyjson.com"},{"rating":5,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Ruby Andrews","reviewerEmail":"ruby.andrews@x.dummyjson.com"},{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Clara Berry","reviewerEmail":"clara.berry@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":40,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"9467746727219","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/red-lipstick/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/red-lipstick/thumbnail.webp"},{"id":5,"title":"Red Nail Polish","description":"The Red Nail Polish offers a rich and glossy red hue for vibrant and polished nails. With a quick-drying formula, it provides a salon-quality finish at home.","category":"beauty","price":8.99,"discountPercentage":11.44,"rating":4.32,"stock":79,"tags":["beauty","nail polish"],"brand":"Nail Couture","sku":"BEA-NAI-NAI-005","weight":8,"dimensions":{"width":21.63,"height":16.48,"depth":29.84},"warrantyInformation":"1 month warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Benjamin Wilson","reviewerEmail":"benjamin.wilson@x.dummyjson.com"},{"rating":5,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Liam Smith","reviewerEmail":"liam.smith@x.dummyjson.com"},{"rating":1,"comment":"Very unhappy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Clara Berry","reviewerEmail":"clara.berry@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":22,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"4063010628104","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/red-nail-polish/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/red-nail-polish/thumbnail.webp"},{"id":6,"title":"Calvin Klein CK One","description":"CK One by Calvin Klein is a classic unisex fragrance, known for its fresh and clean scent. It's a versatile fragrance suitable for everyday wear.","category":"fragrances","price":49.99,"discountPercentage":1.89,"rating":4.37,"stock":29,"tags":["fragrances","perfumes"],"brand":"Calvin Klein","sku":"FRA-CAL-CAL-006","weight":7,"dimensions":{"width":29.36,"height":27.76,"depth":20.72},"warrantyInformation":"1 week warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Layla Young","reviewerEmail":"layla.young@x.dummyjson.com"},{"rating":4,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Daniel Cook","reviewerEmail":"daniel.cook@x.dummyjson.com"},{"rating":3,"comment":"Not as described!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Jacob Cooper","reviewerEmail":"jacob.cooper@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":9,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"2451534060749","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/fragrances/calvin-klein-ck-one/1.webp","https://cdn.dummyjson.com/product-images/fragrances/calvin-klein-ck-one/2.webp","https://cdn.dummyjson.com/product-images/fragrances/calvin-klein-ck-one/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/fragrances/calvin-klein-ck-one/thumbnail.webp"},{"id":7,"title":"Chanel Coco Noir Eau De","description":"Coco Noir by Chanel is an elegant and mysterious fragrance, featuring notes of grapefruit, rose, and sandalwood. Perfect for evening occasions.","category":"fragrances","price":129.99,"discountPercentage":16.51,"rating":4.26,"stock":58,"tags":["fragrances","perfumes"],"brand":"Chanel","sku":"FRA-CHA-CHA-007","weight":7,"dimensions":{"width":24.5,"height":25.7,"depth":25.98},"warrantyInformation":"3 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Ruby Andrews","reviewerEmail":"ruby.andrews@x.dummyjson.com"},{"rating":5,"comment":"Awesome product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Leah Henderson","reviewerEmail":"leah.henderson@x.dummyjson.com"},{"rating":5,"comment":"Very happy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Xavier Wright","reviewerEmail":"xavier.wright@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"4091737746820","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/fragrances/chanel-coco-noir-eau-de/1.webp","https://cdn.dummyjson.com/product-images/fragrances/chanel-coco-noir-eau-de/2.webp","https://cdn.dummyjson.com/product-images/fragrances/chanel-coco-noir-eau-de/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/fragrances/chanel-coco-noir-eau-de/thumbnail.webp"},{"id":8,"title":"Dior J'adore","description":"J'adore by Dior is a luxurious and floral fragrance, known for its blend of ylang-ylang, rose, and jasmine. It embodies femininity and sophistication.","category":"fragrances","price":89.99,"discountPercentage":14.72,"rating":3.8,"stock":98,"tags":["fragrances","perfumes"],"brand":"Dior","sku":"FRA-DIO-DIO-008","weight":4,"dimensions":{"width":27.67,"height":28.28,"depth":11.83},"warrantyInformation":"1 week warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Great value for money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nicholas Bailey","reviewerEmail":"nicholas.bailey@x.dummyjson.com"},{"rating":4,"comment":"Great value for money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Penelope Harper","reviewerEmail":"penelope.harper@x.dummyjson.com"},{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Emma Miller","reviewerEmail":"emma.miller@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":10,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"1445086097250","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/fragrances/dior-j'adore/1.webp","https://cdn.dummyjson.com/product-images/fragrances/dior-j'adore/2.webp","https://cdn.dummyjson.com/product-images/fragrances/dior-j'adore/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/fragrances/dior-j'adore/thumbnail.webp"},{"id":9,"title":"Dolce Shine Eau de","description":"Dolce Shine by Dolce & Gabbana is a vibrant and fruity fragrance, featuring notes of mango, jasmine, and blonde woods. It's a joyful and youthful scent.","category":"fragrances","price":69.99,"discountPercentage":0.62,"rating":3.96,"stock":4,"tags":["fragrances","perfumes"],"brand":"Dolce & Gabbana","sku":"FRA-DOL-DOL-009","weight":6,"dimensions":{"width":27.28,"height":29.88,"depth":18.3},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 1 month","availabilityStatus":"Low Stock","reviews":[{"rating":4,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Mateo Bennett","reviewerEmail":"mateo.bennett@x.dummyjson.com"},{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nolan Gonzalez","reviewerEmail":"nolan.gonzalez@x.dummyjson.com"},{"rating":5,"comment":"Very happy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Aurora Lawson","reviewerEmail":"aurora.lawson@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"3023868210708","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/fragrances/dolce-shine-eau-de/1.webp","https://cdn.dummyjson.com/product-images/fragrances/dolce-shine-eau-de/2.webp","https://cdn.dummyjson.com/product-images/fragrances/dolce-shine-eau-de/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/fragrances/dolce-shine-eau-de/thumbnail.webp"},{"id":10,"title":"Gucci Bloom Eau de","description":"Gucci Bloom by Gucci is a floral and captivating fragrance, with notes of tuberose, jasmine, and Rangoon creeper. It's a modern and romantic scent.","category":"fragrances","price":79.99,"discountPercentage":14.39,"rating":2.74,"stock":91,"tags":["fragrances","perfumes"],"brand":"Gucci","sku":"FRA-GUC-GUC-010","weight":7,"dimensions":{"width":20.92,"height":21.68,"depth":11.2},"warrantyInformation":"6 months warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":1,"comment":"Very dissatisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Cameron Perez","reviewerEmail":"cameron.perez@x.dummyjson.com"},{"rating":5,"comment":"Very happy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Daniel Cook","reviewerEmail":"daniel.cook@x.dummyjson.com"},{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Addison Wright","reviewerEmail":"addison.wright@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"3170832177880","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/fragrances/gucci-bloom-eau-de/1.webp","https://cdn.dummyjson.com/product-images/fragrances/gucci-bloom-eau-de/2.webp","https://cdn.dummyjson.com/product-images/fragrances/gucci-bloom-eau-de/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/fragrances/gucci-bloom-eau-de/thumbnail.webp"},{"id":11,"title":"Annibale Colombo Bed","description":"The Annibale Colombo Bed is a luxurious and elegant bed frame, crafted with high-quality materials for a comfortable and stylish bedroom.","category":"furniture","price":1899.99,"discountPercentage":8.57,"rating":4.77,"stock":88,"tags":["furniture","beds"],"brand":"Annibale Colombo","sku":"FUR-ANN-ANN-011","weight":10,"dimensions":{"width":28.16,"height":25.36,"depth":17.28},"warrantyInformation":"1 year warranty","shippingInformation":"Ships in 1 month","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Christopher West","reviewerEmail":"christopher.west@x.dummyjson.com"},{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Vivian Carter","reviewerEmail":"vivian.carter@x.dummyjson.com"},{"rating":1,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Mason Wright","reviewerEmail":"mason.wright@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"3610757456581","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-bed/1.webp","https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-bed/2.webp","https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-bed/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-bed/thumbnail.webp"},{"id":12,"title":"Annibale Colombo Sofa","description":"The Annibale Colombo Sofa is a sophisticated and comfortable seating option, featuring exquisite design and premium upholstery for your living room.","category":"furniture","price":2499.99,"discountPercentage":14.4,"rating":3.92,"stock":60,"tags":["furniture","sofas"],"brand":"Annibale Colombo","sku":"FUR-ANN-ANN-012","weight":6,"dimensions":{"width":12.75,"height":20.55,"depth":19.06},"warrantyInformation":"Lifetime warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Very unhappy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Christian Perez","reviewerEmail":"christian.perez@x.dummyjson.com"},{"rating":5,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lillian Bishop","reviewerEmail":"lillian.bishop@x.dummyjson.com"},{"rating":1,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lillian Simmons","reviewerEmail":"lillian.simmons@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"1777662847736","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-sofa/1.webp","https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-sofa/2.webp","https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-sofa/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/furniture/annibale-colombo-sofa/thumbnail.webp"},{"id":13,"title":"Bedside Table African Cherry","description":"The Bedside Table in African Cherry is a stylish and functional addition to your bedroom, providing convenient storage space and a touch of elegance.","category":"furniture","price":299.99,"discountPercentage":19.09,"rating":2.87,"stock":64,"tags":["furniture","bedside tables"],"brand":"Furniture Co.","sku":"FUR-FUR-BED-013","weight":2,"dimensions":{"width":13.47,"height":24.99,"depth":27.35},"warrantyInformation":"5 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Aaliyah Hanson","reviewerEmail":"aaliyah.hanson@x.dummyjson.com"},{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Liam Smith","reviewerEmail":"liam.smith@x.dummyjson.com"},{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Avery Barnes","reviewerEmail":"avery.barnes@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"6441287925979","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/furniture/bedside-table-african-cherry/1.webp","https://cdn.dummyjson.com/product-images/furniture/bedside-table-african-cherry/2.webp","https://cdn.dummyjson.com/product-images/furniture/bedside-table-african-cherry/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/furniture/bedside-table-african-cherry/thumbnail.webp"},{"id":14,"title":"Knoll Saarinen Executive Conference Chair","description":"The Knoll Saarinen Executive Conference Chair is a modern and ergonomic chair, perfect for your office or conference room with its timeless design.","category":"furniture","price":499.99,"discountPercentage":2.01,"rating":4.88,"stock":26,"tags":["furniture","office chairs"],"brand":"Knoll","sku":"FUR-KNO-KNO-014","weight":10,"dimensions":{"width":13.81,"height":7.5,"depth":5.62},"warrantyInformation":"2 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Waste of money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Ella Cook","reviewerEmail":"ella.cook@x.dummyjson.com"},{"rating":2,"comment":"Very dissatisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Clara Berry","reviewerEmail":"clara.berry@x.dummyjson.com"},{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Elena Long","reviewerEmail":"elena.long@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":5,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"8919386859966","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/furniture/knoll-saarinen-executive-conference-chair/1.webp","https://cdn.dummyjson.com/product-images/furniture/knoll-saarinen-executive-conference-chair/2.webp","https://cdn.dummyjson.com/product-images/furniture/knoll-saarinen-executive-conference-chair/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/furniture/knoll-saarinen-executive-conference-chair/thumbnail.webp"},{"id":15,"title":"Wooden Bathroom Sink With Mirror","description":"The Wooden Bathroom Sink with Mirror is a unique and stylish addition to your bathroom, featuring a wooden sink countertop and a matching mirror.","category":"furniture","price":799.99,"discountPercentage":8.8,"rating":3.59,"stock":7,"tags":["furniture","bathroom"],"brand":"Bath Trends","sku":"FUR-BAT-WOO-015","weight":10,"dimensions":{"width":7.98,"height":8.88,"depth":28.46},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"Low Stock","reviews":[{"rating":4,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Logan Torres","reviewerEmail":"logan.torres@x.dummyjson.com"},{"rating":5,"comment":"Very pleased!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Aria Parker","reviewerEmail":"aria.parker@x.dummyjson.com"},{"rating":3,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Dylan Wells","reviewerEmail":"dylan.wells@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"1958104402873","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/furniture/wooden-bathroom-sink-with-mirror/1.webp","https://cdn.dummyjson.com/product-images/furniture/wooden-bathroom-sink-with-mirror/2.webp","https://cdn.dummyjson.com/product-images/furniture/wooden-bathroom-sink-with-mirror/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/furniture/wooden-bathroom-sink-with-mirror/thumbnail.webp"},{"id":16,"title":"Apple","description":"Fresh and crisp apples, perfect for snacking or incorporating into various recipes.","category":"groceries","price":1.99,"discountPercentage":12.62,"rating":4.19,"stock":8,"tags":["fruits"],"sku":"GRO-BRD-APP-016","weight":9,"dimensions":{"width":13.66,"height":11.01,"depth":9.73},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Sophia Brown","reviewerEmail":"sophia.brown@x.dummyjson.com"},{"rating":1,"comment":"Very dissatisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Scarlett Bowman","reviewerEmail":"scarlett.bowman@x.dummyjson.com"},{"rating":3,"comment":"Very unhappy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"William Gonzalez","reviewerEmail":"william.gonzalez@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":7,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"7962803553314","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/apple/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/apple/thumbnail.webp"},{"id":17,"title":"Beef Steak","description":"High-quality beef steak, great for grilling or cooking to your preferred level of doneness.","category":"groceries","price":12.99,"discountPercentage":9.61,"rating":4.47,"stock":86,"tags":["meat"],"sku":"GRO-BRD-BEE-017","weight":10,"dimensions":{"width":18.9,"height":5.77,"depth":18.57},"warrantyInformation":"3 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Tyler","reviewerEmail":"eleanor.tyler@x.dummyjson.com"},{"rating":4,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Alexander Jones","reviewerEmail":"alexander.jones@x.dummyjson.com"},{"rating":5,"comment":"Great value for money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Natalie Harris","reviewerEmail":"natalie.harris@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":43,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5640063409695","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/beef-steak/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/beef-steak/thumbnail.webp"},{"id":18,"title":"Cat Food","description":"Nutritious cat food formulated to meet the dietary needs of your feline friend.","category":"groceries","price":8.99,"discountPercentage":9.58,"rating":3.13,"stock":46,"tags":["pet supplies","cat food"],"sku":"GRO-BRD-FOO-018","weight":10,"dimensions":{"width":18.08,"height":9.26,"depth":21.86},"warrantyInformation":"1 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Noah Lewis","reviewerEmail":"noah.lewis@x.dummyjson.com"},{"rating":3,"comment":"Very unhappy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Ruby Andrews","reviewerEmail":"ruby.andrews@x.dummyjson.com"},{"rating":2,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Ethan Thompson","reviewerEmail":"ethan.thompson@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":18,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"1483991328610","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/cat-food/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/cat-food/thumbnail.webp"},{"id":19,"title":"Chicken Meat","description":"Fresh and tender chicken meat, suitable for various culinary preparations.","category":"groceries","price":9.99,"discountPercentage":13.7,"rating":3.19,"stock":97,"tags":["meat"],"sku":"GRO-BRD-CHI-019","weight":1,"dimensions":{"width":11.03,"height":22.11,"depth":16.01},"warrantyInformation":"1 year warranty","shippingInformation":"Ships in 1 month","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Mateo Bennett","reviewerEmail":"mateo.bennett@x.dummyjson.com"},{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Jackson Evans","reviewerEmail":"jackson.evans@x.dummyjson.com"},{"rating":3,"comment":"Not worth the price!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Sadie Morales","reviewerEmail":"sadie.morales@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":22,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"8829514594521","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/chicken-meat/1.webp","https://cdn.dummyjson.com/product-images/groceries/chicken-meat/2.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/chicken-meat/thumbnail.webp"},{"id":20,"title":"Cooking Oil","description":"Versatile cooking oil suitable for frying, sautéing, and various culinary applications.","category":"groceries","price":4.99,"discountPercentage":9.33,"rating":4.8,"stock":10,"tags":["cooking essentials"],"sku":"GRO-BRD-COO-020","weight":5,"dimensions":{"width":19.95,"height":27.54,"depth":24.86},"warrantyInformation":"Lifetime warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Very happy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Victoria McDonald","reviewerEmail":"victoria.mcdonald@x.dummyjson.com"},{"rating":2,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Hazel Evans","reviewerEmail":"hazel.evans@x.dummyjson.com"},{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Zoe Bennett","reviewerEmail":"zoe.bennett@x.dummyjson.com"}],"returnPolicy":"30 days return policy","minimumOrderQuantity":46,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"4874727824518","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/cooking-oil/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/cooking-oil/thumbnail.webp"},{"id":21,"title":"Cucumber","description":"Crisp and hydrating cucumbers, ideal for salads, snacks, or as a refreshing side.","category":"groceries","price":1.49,"discountPercentage":0.16,"rating":4.07,"stock":84,"tags":["vegetables"],"sku":"GRO-BRD-CUC-021","weight":4,"dimensions":{"width":12.8,"height":28.38,"depth":21.34},"warrantyInformation":"2 year warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lincoln Kelly","reviewerEmail":"lincoln.kelly@x.dummyjson.com"},{"rating":4,"comment":"Great value for money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Savannah Gomez","reviewerEmail":"savannah.gomez@x.dummyjson.com"},{"rating":2,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"James Davis","reviewerEmail":"james.davis@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5300066378225","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/cucumber/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/cucumber/thumbnail.webp"},{"id":22,"title":"Dog Food","description":"Specially formulated dog food designed to provide essential nutrients for your canine companion.","category":"groceries","price":10.99,"discountPercentage":10.27,"rating":4.55,"stock":71,"tags":["pet supplies","dog food"],"sku":"GRO-BRD-FOO-022","weight":10,"dimensions":{"width":16.93,"height":27.15,"depth":9.29},"warrantyInformation":"No warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nicholas Edwards","reviewerEmail":"nicholas.edwards@x.dummyjson.com"},{"rating":5,"comment":"Awesome product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Zachary Lee","reviewerEmail":"zachary.lee@x.dummyjson.com"},{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nova Cooper","reviewerEmail":"nova.cooper@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":43,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5906686116469","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/dog-food/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/dog-food/thumbnail.webp"},{"id":23,"title":"Eggs","description":"Fresh eggs, a versatile ingredient for baking, cooking, or breakfast.","category":"groceries","price":2.99,"discountPercentage":11.05,"rating":2.53,"stock":9,"tags":["dairy"],"sku":"GRO-BRD-EGG-023","weight":2,"dimensions":{"width":11.42,"height":7.44,"depth":16.95},"warrantyInformation":"1 week warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Disappointing product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Penelope King","reviewerEmail":"penelope.king@x.dummyjson.com"},{"rating":3,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Tyler","reviewerEmail":"eleanor.tyler@x.dummyjson.com"},{"rating":4,"comment":"Very pleased!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Benjamin Foster","reviewerEmail":"benjamin.foster@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":32,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"3478638588469","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/eggs/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/eggs/thumbnail.webp"},{"id":24,"title":"Fish Steak","description":"Quality fish steak, suitable for grilling, baking, or pan-searing.","category":"groceries","price":14.99,"discountPercentage":4.23,"rating":3.78,"stock":74,"tags":["seafood"],"sku":"GRO-BRD-FIS-024","weight":6,"dimensions":{"width":14.95,"height":26.31,"depth":11.27},"warrantyInformation":"1 month warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Would not buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Caleb Perkins","reviewerEmail":"caleb.perkins@x.dummyjson.com"},{"rating":5,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Isabella Jackson","reviewerEmail":"isabella.jackson@x.dummyjson.com"},{"rating":4,"comment":"Great value for money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nathan Dixon","reviewerEmail":"nathan.dixon@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":50,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"9595036192098","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/fish-steak/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/fish-steak/thumbnail.webp"},{"id":25,"title":"Green Bell Pepper","description":"Fresh and vibrant green bell pepper, perfect for adding color and flavor to your dishes.","category":"groceries","price":1.29,"discountPercentage":0.16,"rating":3.25,"stock":33,"tags":["vegetables"],"sku":"GRO-BRD-GRE-025","weight":2,"dimensions":{"width":15.33,"height":26.65,"depth":14.44},"warrantyInformation":"1 month warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Avery Carter","reviewerEmail":"avery.carter@x.dummyjson.com"},{"rating":3,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Henry Hill","reviewerEmail":"henry.hill@x.dummyjson.com"},{"rating":5,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Addison Wright","reviewerEmail":"addison.wright@x.dummyjson.com"}],"returnPolicy":"30 days return policy","minimumOrderQuantity":12,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"2365227493323","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/green-bell-pepper/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/green-bell-pepper/thumbnail.webp"},{"id":26,"title":"Green Chili Pepper","description":"Spicy green chili pepper, ideal for adding heat to your favorite recipes.","category":"groceries","price":0.99,"discountPercentage":1,"rating":3.66,"stock":3,"tags":["vegetables"],"sku":"GRO-BRD-GRE-026","weight":7,"dimensions":{"width":15.38,"height":18.12,"depth":19.92},"warrantyInformation":"2 year warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"Low Stock","reviews":[{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Luna Russell","reviewerEmail":"luna.russell@x.dummyjson.com"},{"rating":1,"comment":"Waste of money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Noah Lewis","reviewerEmail":"noah.lewis@x.dummyjson.com"},{"rating":3,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Clara Berry","reviewerEmail":"clara.berry@x.dummyjson.com"}],"returnPolicy":"30 days return policy","minimumOrderQuantity":39,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"9335000538563","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/green-chili-pepper/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/green-chili-pepper/thumbnail.webp"},{"id":27,"title":"Honey Jar","description":"Pure and natural honey in a convenient jar, perfect for sweetening beverages or drizzling over food.","category":"groceries","price":6.99,"discountPercentage":14.4,"rating":3.97,"stock":34,"tags":["condiments"],"sku":"GRO-BRD-HON-027","weight":2,"dimensions":{"width":9.28,"height":21.72,"depth":17.74},"warrantyInformation":"1 month warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":1,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Autumn Gomez","reviewerEmail":"autumn.gomez@x.dummyjson.com"},{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Benjamin Wilson","reviewerEmail":"benjamin.wilson@x.dummyjson.com"},{"rating":2,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nicholas Edwards","reviewerEmail":"nicholas.edwards@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":47,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"6354306346329","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/honey-jar/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/honey-jar/thumbnail.webp"},{"id":28,"title":"Ice Cream","description":"Creamy and delicious ice cream, available in various flavors for a delightful treat.","category":"groceries","price":5.49,"discountPercentage":8.69,"rating":3.39,"stock":27,"tags":["desserts"],"sku":"GRO-BRD-CRE-028","weight":1,"dimensions":{"width":14.83,"height":15.07,"depth":24.2},"warrantyInformation":"1 month warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Very pleased!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Elijah Cruz","reviewerEmail":"elijah.cruz@x.dummyjson.com"},{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Jace Smith","reviewerEmail":"jace.smith@x.dummyjson.com"},{"rating":5,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Sadie Morales","reviewerEmail":"sadie.morales@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":42,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"0788954559076","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/ice-cream/1.webp","https://cdn.dummyjson.com/product-images/groceries/ice-cream/2.webp","https://cdn.dummyjson.com/product-images/groceries/ice-cream/3.webp","https://cdn.dummyjson.com/product-images/groceries/ice-cream/4.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/ice-cream/thumbnail.webp"},{"id":29,"title":"Juice","description":"Refreshing fruit juice, packed with vitamins and great for staying hydrated.","category":"groceries","price":3.99,"discountPercentage":12.06,"rating":3.94,"stock":50,"tags":["beverages"],"sku":"GRO-BRD-JUI-029","weight":1,"dimensions":{"width":18.56,"height":21.46,"depth":28.02},"warrantyInformation":"6 months warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nolan Gonzalez","reviewerEmail":"nolan.gonzalez@x.dummyjson.com"},{"rating":4,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Bella Grant","reviewerEmail":"bella.grant@x.dummyjson.com"},{"rating":5,"comment":"Awesome product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Aria Flores","reviewerEmail":"aria.flores@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":25,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"6936112580956","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/juice/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/juice/thumbnail.webp"},{"id":30,"title":"Kiwi","description":"Nutrient-rich kiwi, perfect for snacking or adding a tropical twist to your dishes.","category":"groceries","price":2.49,"discountPercentage":15.22,"rating":4.93,"stock":99,"tags":["fruits"],"sku":"GRO-BRD-KIW-030","weight":5,"dimensions":{"width":19.4,"height":18.67,"depth":17.13},"warrantyInformation":"6 months warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Emily Brown","reviewerEmail":"emily.brown@x.dummyjson.com"},{"rating":2,"comment":"Would not buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Jackson Morales","reviewerEmail":"jackson.morales@x.dummyjson.com"},{"rating":4,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nora Russell","reviewerEmail":"nora.russell@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":30,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"2530169917252","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/groceries/kiwi/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/groceries/kiwi/thumbnail.webp"}],"total":194,"skip":0,"limit":30}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000 ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body contains products array | 1 | 0 | 0 |
| products array is not empty | 1 | 0 | 0 |
| Each product has id, title and price | 1 | 0 | 0 |
| each product id is number,title is string, price is number | 1 | 0 | 0 |
| response body contains pagination fields | 1 | 0 | 0 |
| products count does not exceed limit | 1 | 0 | 0 |
| each product price is not negative | 1 | 0 | 0 |
| Total | 10 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Product-By ID
## Overview
This endpoint retrieves a specific product by its unique identifier. It returns detailed information about a single product from the DummyJSON API.
## Purpose
This endpoint is used to:
- View detailed information about a specific product
- Retrieve product data for display on product detail pages
- Fetch product information for inventory management or catalog systems
- Validate product existence and details in the system
## Expected Behavior
When this request is executed successfully, it returns comprehensive information about the requested product, including its ID, title, description, category, and price. The response is delivered in JSON format with a 200 OK status code.
## Request Details
- **HTTP Method**: `GET`
- **Endpoint**: `https://dummyjson.com/products/1`
- **Path Variables**:
- `product_id` - The unique identifier of the product to retrieve
## Variables Used
- **baseUrl**: The base URL for the DummyJSON API
- **product_id**: The unique identifier of the product to retrieve (numeric value)
## Response Details
- **Status Code**: `200 OK`
- **Content-Type**: `application/json`
- **Response Body Structure**:
``` json
{
"id": number,
"title": string,
"description": string,
"category": string,
"price": number
}
```
### Response Fields:
- `id` (number): The unique identifier of the product
- `title` (string): The name/title of the product
- `description` (string): Detailed description of the product
- `category` (string): The category to which the product belongs
- `price` (number): The price of the product
## Test Validations
This request includes the following automated test assertions:
- ✓ **Status code is 200**: Verifies the request was successful
- ✓ **Response time is less than 2000ms**: Ensures the API responds within acceptable performance limits
- ✓ **Content-Type is application/json**: Confirms the response format is JSON
- ✓ **Response body is a JSON object**: Validates the response structure
- ✓ **Response body contains required fields**: Checks for presence of `id`, `title`, `description`, `category`, and `price`
- ✓ **Required fields have correct data types**: Validates that:
- `id` is a number
- `title` is a string
- `description` is a string
- `category` is a string
- `price` is a number
- ✓ **Returned product id matches requested product id**: Ensures the correct product was retrieved
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3d75a281-e96a-4911-b5e7-47ad17d43be1 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:07 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 99 |
| x-ratelimit-reset | 1769530921 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"5e6-bX+IgjHKZz+TflDmEXfyyaBO9Hk" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| Age | 190693 |
| Cache-Control | no-store |
| cf-cache-status | HIT |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=8YHga%2B8mDBqMmg0cxUL9CkPTuKLG%2Fa7yIgW%2FssKbSe5RADcOhCjNm8noM6e4Jha90pXdK3zWqP1ALW5c43YIS1C1KrtEBfZB8aRtRRy0sMJriCu6DKB%2FVFw%3D"}]} |
| CF-RAY | 9c5bc5916d4d0c5b-AMM |
{"id":1,"title":"Essence Mascara Lash Princess","description":"The Essence Mascara Lash Princess is a popular mascara known for its volumizing and lengthening effects. Achieve dramatic lashes with this long-lasting and cruelty-free formula.","category":"beauty","price":9.99,"discountPercentage":10.48,"rating":2.56,"stock":99,"tags":["beauty","mascara"],"brand":"Essence","sku":"BEA-ESS-ESS-001","weight":4,"dimensions":{"width":15.14,"height":13.08,"depth":22.99},"warrantyInformation":"1 week warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Collins","reviewerEmail":"eleanor.collins@x.dummyjson.com"},{"rating":4,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lucas Gordon","reviewerEmail":"lucas.gordon@x.dummyjson.com"},{"rating":5,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Collins","reviewerEmail":"eleanor.collins@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":48,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5784719087687","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/thumbnail.webp"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body contains required fields | 1 | 0 | 0 |
| required fields have correct data types | 1 | 0 | 0 |
| returned product id matches requested product id | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Search Product-By Query
## Overview
This endpoint allows users to search for products in the DummyJSON API by providing a search query. The API returns a list of products that match the search criteria based on product titles and descriptions.
## Purpose
To enable product search functionality by accepting a query parameter and returning relevant products from the database. This is commonly used for implementing search features in e-commerce applications.
## Expected Behavior
- Accepts a search query string as a parameter
- Returns products where the query matches either the product title or description
- Returns at least one product for valid search queries
- Responds with a 200 status code for successful searches
- Returns results in JSON format within 2000ms
## Request Details
**Method:** `GET`
**URL:** `https://dummyjson.com/products/search?q=phone`
**Query Parameters:**
- `q` (required): The search query string to filter products. This parameter accepts text that will be matched against product titles and descriptions.
**Headers:** None specified (default headers apply)
## Variables Used
- **`baseUrl`**: The base URL for the DummyJSON API endpoint. This variable should point to the API's root URL (e.g., `https://dummyjson.com`).
- **`product_query`**: The search term or phrase used to find matching products. This variable contains the actual search string that will be passed to the `q` query parameter.
## Response Details
**Structure:**
The response returns a JSON object containing an array of product objects.
**Fields:**
- `products` (array): An array of product objects matching the search criteria
- `id` (number): Unique identifier for the product
- `title` (string): Product name/title
- `price` (number): Product price
- `description` (string): Product description (used in search matching)
- Additional product fields may be included
**Data Types:**
- Product ID: Number
- Product Title: String
- Product Price: Number
- Products Array: Array of objects
## Test Validations
This request includes comprehensive automated tests to validate the API response:
1. **Status Code Validation**: Verifies that the response returns a 200 OK status code, indicating successful request processing.
2. **Performance Check**: Ensures the response time is less than 2000 milliseconds to maintain acceptable API performance.
3. **Content-Type Validation**: Confirms that the response Content-Type header is `application/json`, ensuring proper data format.
4. **Response Structure Validation**: Checks that the response body contains a `products` property that is an array.
5. **Non-Empty Results**: Validates that the search returns at least one product for valid search queries.
6. **Required Fields Presence**: Verifies that each product in the results contains the required fields: `id`, `title`, and `price`.
7. **Data Type Validation**: Ensures that each product's fields have the correct data types:
- `id` must be a number
- `title` must be a string
- `price` must be a number
8. **Search Relevance**: Confirms that the search query appears in either the product title or description of returned products, validating search accuracy.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9d236ac5-333d-467b-a2f2-6754295b8a1e |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:08 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 92 |
| x-ratelimit-reset | 1769721613 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"91a2-RFRCC1oz+o2Uvyk0nOQo9Pf5Q2g" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=tzWFKgTkpeZ0G8qdob3StNjhliSNXne1YNhGG%2F0ngMpVK%2FcN5nNnaT3s8ZCVcS8J08DvhF28yE9bBfcp35rOsUiZRx01OIAhlRm%2BjngxrDxhwXhiXKVp02Y%3D"}]} |
| CF-RAY | 9c5bc59248070c5b-AMM |
{"products":[{"id":101,"title":"Apple AirPods Max Silver","description":"The Apple AirPods Max in Silver are premium over-ear headphones with high-fidelity audio, adaptive EQ, and active noise cancellation. Experience immersive sound in style.","category":"mobile-accessories","price":549.99,"discountPercentage":13.67,"rating":3.47,"stock":59,"tags":["electronics","over-ear headphones"],"brand":"Apple","sku":"MOB-APP-APP-101","weight":2,"dimensions":{"width":24.88,"height":14.9,"depth":27.54},"warrantyInformation":"No warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Henry Adams","reviewerEmail":"henry.adams@x.dummyjson.com"},{"rating":4,"comment":"Very happy with my purchase!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Elijah Cruz","reviewerEmail":"elijah.cruz@x.dummyjson.com"},{"rating":4,"comment":"Would buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"William Lopez","reviewerEmail":"william.lopez@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"4062176053732","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/apple-airpods-max-silver/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/apple-airpods-max-silver/thumbnail.webp"},{"id":104,"title":"Apple iPhone Charger","description":"The Apple iPhone Charger is a high-quality charger designed for fast and efficient charging of your iPhone. Ensure your device stays powered up and ready to go.","category":"mobile-accessories","price":19.99,"discountPercentage":18.52,"rating":4.15,"stock":31,"tags":["electronics","chargers"],"brand":"Apple","sku":"MOB-APP-APP-104","weight":1,"dimensions":{"width":13.63,"height":26.25,"depth":5.95},"warrantyInformation":"1 year warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":1,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Sadie Morales","reviewerEmail":"sadie.morales@x.dummyjson.com"},{"rating":5,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lily Torres","reviewerEmail":"lily.torres@x.dummyjson.com"},{"rating":2,"comment":"Waste of money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Luke Cooper","reviewerEmail":"luke.cooper@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":14,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"0879776541417","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/apple-iphone-charger/1.webp","https://cdn.dummyjson.com/product-images/mobile-accessories/apple-iphone-charger/2.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/apple-iphone-charger/thumbnail.webp"},{"id":105,"title":"Apple MagSafe Battery Pack","description":"The Apple MagSafe Battery Pack is a portable and convenient way to add extra battery life to your MagSafe-compatible iPhone. Attach it magnetically for a secure connection.","category":"mobile-accessories","price":99.99,"discountPercentage":17.17,"rating":3.62,"stock":1,"tags":["electronics","power banks"],"brand":"Apple","sku":"MOB-APP-APP-105","weight":6,"dimensions":{"width":15.4,"height":11.89,"depth":19.67},"warrantyInformation":"2 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"Low Stock","reviews":[{"rating":2,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Stella Morris","reviewerEmail":"stella.morris@x.dummyjson.com"},{"rating":2,"comment":"Not as described!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Henry Adams","reviewerEmail":"henry.adams@x.dummyjson.com"},{"rating":5,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Cameron Burke","reviewerEmail":"cameron.burke@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":4,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5157424897794","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/apple-magsafe-battery-pack/1.webp","https://cdn.dummyjson.com/product-images/mobile-accessories/apple-magsafe-battery-pack/2.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/apple-magsafe-battery-pack/thumbnail.webp"},{"id":107,"title":"Beats Flex Wireless Earphones","description":"The Beats Flex Wireless Earphones offer a comfortable and versatile audio experience. With magnetic earbuds and up to 12 hours of battery life, they are ideal for everyday use.","category":"mobile-accessories","price":49.99,"discountPercentage":5.73,"rating":4.24,"stock":50,"tags":["electronics","wireless earphones"],"brand":"Beats","sku":"MOB-BEA-BEA-107","weight":8,"dimensions":{"width":17.86,"height":25.74,"depth":23.09},"warrantyInformation":"1 year warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Disappointing product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"William Gonzalez","reviewerEmail":"william.gonzalez@x.dummyjson.com"},{"rating":5,"comment":"Very pleased!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Gabriel Mitchell","reviewerEmail":"gabriel.mitchell@x.dummyjson.com"},{"rating":2,"comment":"Not worth the price!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Gabriel Adams","reviewerEmail":"gabriel.adams@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":17,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"1741271692174","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/beats-flex-wireless-earphones/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/beats-flex-wireless-earphones/thumbnail.webp"},{"id":108,"title":"iPhone 12 Silicone Case with MagSafe Plum","description":"The iPhone 12 Silicone Case with MagSafe in Plum is a stylish and protective case designed for the iPhone 12. It features MagSafe technology for easy attachment of accessories.","category":"mobile-accessories","price":29.99,"discountPercentage":13.85,"rating":3.62,"stock":69,"tags":["electronics","phone accessories"],"brand":"Apple","sku":"MOB-APP-IPH-108","weight":7,"dimensions":{"width":12.49,"height":11.29,"depth":23.52},"warrantyInformation":"3 months warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Would not buy again!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Penelope King","reviewerEmail":"penelope.king@x.dummyjson.com"},{"rating":5,"comment":"Great value for money!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Isabella Anderson","reviewerEmail":"isabella.anderson@x.dummyjson.com"},{"rating":5,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Claire Foster","reviewerEmail":"claire.foster@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":4,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"8156838251449","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/iphone-12-silicone-case-with-magsafe-plum/1.webp","https://cdn.dummyjson.com/product-images/mobile-accessories/iphone-12-silicone-case-with-magsafe-plum/2.webp","https://cdn.dummyjson.com/product-images/mobile-accessories/iphone-12-silicone-case-with-magsafe-plum/3.webp","https://cdn.dummyjson.com/product-images/mobile-accessories/iphone-12-silicone-case-with-magsafe-plum/4.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/iphone-12-silicone-case-with-magsafe-plum/thumbnail.webp"},{"id":110,"title":"Selfie Lamp with iPhone","description":"The Selfie Lamp with iPhone is a portable and adjustable LED light designed to enhance your selfies and video calls. Attach it to your iPhone for well-lit photos.","category":"mobile-accessories","price":14.99,"discountPercentage":19.4,"rating":3.55,"stock":58,"tags":["electronics","selfie accessories"],"brand":"GadgetMaster","sku":"MOB-GAD-SEL-110","weight":10,"dimensions":{"width":5.26,"height":13.84,"depth":22.83},"warrantyInformation":"Lifetime warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Luke Cooper","reviewerEmail":"luke.cooper@x.dummyjson.com"},{"rating":3,"comment":"Poor quality!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Caleb Perkins","reviewerEmail":"caleb.perkins@x.dummyjson.com"},{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Benjamin Wilson","reviewerEmail":"benjamin.wilson@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":22,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"4372781189895","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/selfie-lamp-with-iphone/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/selfie-lamp-with-iphone/thumbnail.webp"},{"id":111,"title":"Selfie Stick Monopod","description":"The Selfie Stick Monopod is a extendable and foldable device for capturing the perfect selfie or group photo. Compatible with smartphones and cameras.","category":"mobile-accessories","price":12.99,"discountPercentage":19.12,"rating":3.88,"stock":11,"tags":["electronics","selfie accessories"],"brand":"SnapTech","sku":"MOB-SNA-SEL-111","weight":2,"dimensions":{"width":24.76,"height":26.38,"depth":21.39},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Ryan Graham","reviewerEmail":"ryan.graham@x.dummyjson.com"},{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Nora Russell","reviewerEmail":"nora.russell@x.dummyjson.com"},{"rating":1,"comment":"Very dissatisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Luna Perez","reviewerEmail":"luna.perez@x.dummyjson.com"}],"returnPolicy":"30 days return policy","minimumOrderQuantity":8,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"7063982050226","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/mobile-accessories/selfie-stick-monopod/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/mobile-accessories/selfie-stick-monopod/thumbnail.webp"},{"id":121,"title":"iPhone 5s","description":"The iPhone 5s is a classic smartphone known for its compact design and advanced features during its release. While it's an older model, it still provides a reliable user experience.","category":"smartphones","price":199.99,"discountPercentage":12.91,"rating":2.83,"stock":25,"tags":["smartphones","apple"],"brand":"Apple","sku":"SMA-APP-IPH-121","weight":2,"dimensions":{"width":5.29,"height":18.38,"depth":17.72},"warrantyInformation":"Lifetime warranty","shippingInformation":"Ships in 1 month","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Jace Smith","reviewerEmail":"jace.smith@x.dummyjson.com"},{"rating":1,"comment":"Not as described!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Logan Torres","reviewerEmail":"logan.torres@x.dummyjson.com"},{"rating":5,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Harper Kelly","reviewerEmail":"harper.kelly@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"8814683940853","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/iphone-5s/1.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-5s/2.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-5s/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/iphone-5s/thumbnail.webp"},{"id":122,"title":"iPhone 6","description":"The iPhone 6 is a stylish and capable smartphone with a larger display and improved performance. It introduced new features and design elements, making it a popular choice in its time.","category":"smartphones","price":299.99,"discountPercentage":6.69,"rating":3.41,"stock":60,"tags":["smartphones","apple"],"brand":"Apple","sku":"SMA-APP-IPH-122","weight":7,"dimensions":{"width":11,"height":9.1,"depth":9.67},"warrantyInformation":"1 month warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Disappointing product!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Stella Morris","reviewerEmail":"stella.morris@x.dummyjson.com"},{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Nolan Gonzalez","reviewerEmail":"nolan.gonzalez@x.dummyjson.com"},{"rating":5,"comment":"Great value for money!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Benjamin Foster","reviewerEmail":"benjamin.foster@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":5,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"9922357685013","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/iphone-6/1.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-6/2.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-6/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/iphone-6/thumbnail.webp"},{"id":123,"title":"iPhone 13 Pro","description":"The iPhone 13 Pro is a cutting-edge smartphone with a powerful camera system, high-performance chip, and stunning display. It offers advanced features for users who demand top-notch technology.","category":"smartphones","price":1099.99,"discountPercentage":9.37,"rating":4.12,"stock":56,"tags":["smartphones","apple"],"brand":"Apple","sku":"SMA-APP-IPH-123","weight":8,"dimensions":{"width":12.63,"height":5.28,"depth":14.29},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Christian Perez","reviewerEmail":"christian.perez@x.dummyjson.com"},{"rating":3,"comment":"Not worth the price!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Liam Gonzalez","reviewerEmail":"liam.gonzalez@x.dummyjson.com"},{"rating":5,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Tristan Scott","reviewerEmail":"tristan.scott@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"4998438802308","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/iphone-13-pro/1.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-13-pro/2.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-13-pro/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/iphone-13-pro/thumbnail.webp"},{"id":124,"title":"iPhone X","description":"The iPhone X is a flagship smartphone featuring a bezel-less OLED display, facial recognition technology (Face ID), and impressive performance. It represents a milestone in iPhone design and innovation.","category":"smartphones","price":899.99,"discountPercentage":19.59,"rating":2.51,"stock":37,"tags":["smartphones","apple"],"brand":"Apple","sku":"SMA-APP-IPH-124","weight":1,"dimensions":{"width":21.88,"height":24.19,"depth":14.19},"warrantyInformation":"3 months warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Tyler Davis","reviewerEmail":"tyler.davis@x.dummyjson.com"},{"rating":5,"comment":"Great product!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Aria Parker","reviewerEmail":"aria.parker@x.dummyjson.com"},{"rating":2,"comment":"Not as described!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Lily Torres","reviewerEmail":"lily.torres@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"3034949322264","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/iphone-x/1.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-x/2.webp","https://cdn.dummyjson.com/product-images/smartphones/iphone-x/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/iphone-x/thumbnail.webp"},{"id":125,"title":"Oppo A57","description":"The Oppo A57 is a mid-range smartphone known for its sleek design and capable features. It offers a balance of performance and affordability, making it a popular choice.","category":"smartphones","price":249.99,"discountPercentage":2.43,"rating":3.94,"stock":19,"tags":["smartphones","oppo"],"brand":"Oppo","sku":"SMA-OPP-OPP-125","weight":5,"dimensions":{"width":7.2,"height":10.74,"depth":23.68},"warrantyInformation":"Lifetime warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Scarlett Wright","reviewerEmail":"scarlett.wright@x.dummyjson.com"},{"rating":5,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Jacob Cooper","reviewerEmail":"jacob.cooper@x.dummyjson.com"},{"rating":2,"comment":"Poor quality!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Zoe Nicholson","reviewerEmail":"zoe.nicholson@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"0651223722522","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/oppo-a57/1.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-a57/2.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-a57/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/oppo-a57/thumbnail.webp"},{"id":126,"title":"Oppo F19 Pro Plus","description":"The Oppo F19 Pro Plus is a feature-rich smartphone with a focus on camera capabilities. It boasts advanced photography features and a powerful performance for a premium user experience.","category":"smartphones","price":399.99,"discountPercentage":18.64,"rating":3.51,"stock":78,"tags":["smartphones","oppo"],"brand":"Oppo","sku":"SMA-OPP-OPP-126","weight":6,"dimensions":{"width":6.78,"height":25.17,"depth":8.4},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Very happy with my purchase!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Emily Johnson","reviewerEmail":"emily.johnson@x.dummyjson.com"},{"rating":5,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Jaxon Barnes","reviewerEmail":"jaxon.barnes@x.dummyjson.com"},{"rating":4,"comment":"Would buy again!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Nova Cooper","reviewerEmail":"nova.cooper@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"8576893968169","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/oppo-f19-pro-plus/1.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-f19-pro-plus/2.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-f19-pro-plus/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/oppo-f19-pro-plus/thumbnail.webp"},{"id":127,"title":"Oppo K1","description":"The Oppo K1 series offers a range of smartphones with various features and specifications. Known for their stylish design and reliable performance, the Oppo K1 series caters to diverse user preferences.","category":"smartphones","price":299.99,"discountPercentage":18.29,"rating":4.25,"stock":55,"tags":["smartphones","oppo"],"brand":"Oppo","sku":"SMA-OPP-OPP-127","weight":5,"dimensions":{"width":13.89,"height":10.63,"depth":16.6},"warrantyInformation":"1 month warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Very pleased!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Christopher West","reviewerEmail":"christopher.west@x.dummyjson.com"},{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Mia Miller","reviewerEmail":"mia.miller@x.dummyjson.com"},{"rating":2,"comment":"Very dissatisfied!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Ella Adams","reviewerEmail":"ella.adams@x.dummyjson.com"}],"returnPolicy":"30 days return policy","minimumOrderQuantity":5,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"3106827888743","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/oppo-k1/1.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-k1/2.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-k1/3.webp","https://cdn.dummyjson.com/product-images/smartphones/oppo-k1/4.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/oppo-k1/thumbnail.webp"},{"id":128,"title":"Realme C35","description":"The Realme C35 is a budget-friendly smartphone with a focus on providing essential features for everyday use. It offers a reliable performance and user-friendly experience.","category":"smartphones","price":149.99,"discountPercentage":15.3,"rating":4.2,"stock":48,"tags":["smartphones","realme"],"brand":"Realme","sku":"SMA-REA-REA-128","weight":2,"dimensions":{"width":25.28,"height":8.14,"depth":29.53},"warrantyInformation":"3 year warranty","shippingInformation":"Ships overnight","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Great product!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Penelope King","reviewerEmail":"penelope.king@x.dummyjson.com"},{"rating":2,"comment":"Very unhappy with my purchase!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Asher Scott","reviewerEmail":"asher.scott@x.dummyjson.com"},{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Henry Adams","reviewerEmail":"henry.adams@x.dummyjson.com"}],"returnPolicy":"90 days return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"7825844344364","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/realme-c35/1.webp","https://cdn.dummyjson.com/product-images/smartphones/realme-c35/2.webp","https://cdn.dummyjson.com/product-images/smartphones/realme-c35/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/realme-c35/thumbnail.webp"},{"id":129,"title":"Realme X","description":"The Realme X is a mid-range smartphone known for its sleek design and impressive display. It offers a good balance of performance and camera capabilities for users seeking a quality device.","category":"smartphones","price":299.99,"discountPercentage":6.95,"rating":3.7,"stock":12,"tags":["smartphones","realme"],"brand":"Realme","sku":"SMA-REA-REA-129","weight":4,"dimensions":{"width":25.59,"height":21.42,"depth":12.75},"warrantyInformation":"1 month warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Hazel Evans","reviewerEmail":"hazel.evans@x.dummyjson.com"},{"rating":5,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Brayden Fleming","reviewerEmail":"brayden.fleming@x.dummyjson.com"},{"rating":5,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Madison Stewart","reviewerEmail":"madison.stewart@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"4948452391831","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/realme-x/1.webp","https://cdn.dummyjson.com/product-images/smartphones/realme-x/2.webp","https://cdn.dummyjson.com/product-images/smartphones/realme-x/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/realme-x/thumbnail.webp"},{"id":130,"title":"Realme XT","description":"The Realme XT is a feature-rich smartphone with a focus on camera technology. It comes equipped with advanced camera sensors, delivering high-quality photos and videos for photography enthusiasts.","category":"smartphones","price":349.99,"discountPercentage":11.51,"rating":4.58,"stock":80,"tags":["smartphones","realme"],"brand":"Realme","sku":"SMA-REA-REA-130","weight":3,"dimensions":{"width":24.98,"height":26.73,"depth":6.5},"warrantyInformation":"3 year warranty","shippingInformation":"Ships in 1 month","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Emily Brown","reviewerEmail":"emily.brown@x.dummyjson.com"},{"rating":3,"comment":"Not as described!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Ella Cook","reviewerEmail":"ella.cook@x.dummyjson.com"},{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Layla Sullivan","reviewerEmail":"layla.sullivan@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"6151817227632","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/realme-xt/1.webp","https://cdn.dummyjson.com/product-images/smartphones/realme-xt/2.webp","https://cdn.dummyjson.com/product-images/smartphones/realme-xt/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/realme-xt/thumbnail.webp"},{"id":131,"title":"Samsung Galaxy S7","description":"The Samsung Galaxy S7 is a flagship smartphone known for its sleek design and advanced features. It features a high-resolution display, powerful camera, and robust performance.","category":"smartphones","price":299.99,"discountPercentage":19.55,"rating":3.3,"stock":67,"tags":["smartphones","samsung galaxy"],"brand":"Samsung","sku":"SMA-SAM-SAM-131","weight":10,"dimensions":{"width":13.55,"height":24.24,"depth":5.63},"warrantyInformation":"3 months warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":1,"comment":"Not as described!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Julian James","reviewerEmail":"julian.james@x.dummyjson.com"},{"rating":4,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Lucas Gordon","reviewerEmail":"lucas.gordon@x.dummyjson.com"},{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Ava Taylor","reviewerEmail":"ava.taylor@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"7557912146622","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s7/1.webp","https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s7/2.webp","https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s7/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s7/thumbnail.webp"},{"id":132,"title":"Samsung Galaxy S8","description":"The Samsung Galaxy S8 is a premium smartphone with an Infinity Display, offering a stunning visual experience. It boasts advanced camera capabilities and cutting-edge technology.","category":"smartphones","price":499.99,"discountPercentage":19.45,"rating":4.4,"stock":0,"tags":["smartphones","samsung galaxy"],"brand":"Samsung","sku":"SMA-SAM-SAM-132","weight":6,"dimensions":{"width":23.05,"height":26.88,"depth":15.73},"warrantyInformation":"2 year warranty","shippingInformation":"Ships in 1 week","availabilityStatus":"Out of Stock","reviews":[{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Owen Fisher","reviewerEmail":"owen.fisher@x.dummyjson.com"},{"rating":4,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Clara Berry","reviewerEmail":"clara.berry@x.dummyjson.com"},{"rating":4,"comment":"Highly recommended!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Tyler Davis","reviewerEmail":"tyler.davis@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":4,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"5995499013336","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s8/1.webp","https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s8/2.webp","https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s8/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s8/thumbnail.webp"},{"id":133,"title":"Samsung Galaxy S10","description":"The Samsung Galaxy S10 is a flagship device featuring a dynamic AMOLED display, versatile camera system, and powerful performance. It represents innovation and excellence in smartphone technology.","category":"smartphones","price":699.99,"discountPercentage":5.59,"rating":3.06,"stock":19,"tags":["smartphones","samsung galaxy"],"brand":"Samsung","sku":"SMA-SAM-SAM-133","weight":9,"dimensions":{"width":27.41,"height":15.26,"depth":27.02},"warrantyInformation":"No warranty","shippingInformation":"Ships in 2 weeks","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Excellent quality!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Tristan Scott","reviewerEmail":"tristan.scott@x.dummyjson.com"},{"rating":5,"comment":"Would buy again!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Christopher West","reviewerEmail":"christopher.west@x.dummyjson.com"},{"rating":2,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Amelia Perez","reviewerEmail":"amelia.perez@x.dummyjson.com"}],"returnPolicy":"30 days return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"4676898229465","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s10/1.webp","https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s10/2.webp","https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s10/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/samsung-galaxy-s10/thumbnail.webp"},{"id":134,"title":"Vivo S1","description":"The Vivo S1 is a stylish and mid-range smartphone offering a blend of design and performance. It features a vibrant display, capable camera system, and reliable functionality.","category":"smartphones","price":249.99,"discountPercentage":10.17,"rating":3.5,"stock":50,"tags":["smartphones","vivo"],"brand":"Vivo","sku":"SMA-VIV-VIV-134","weight":4,"dimensions":{"width":14.06,"height":11.79,"depth":6.78},"warrantyInformation":"6 months warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Samantha Martinez","reviewerEmail":"samantha.martinez@x.dummyjson.com"},{"rating":3,"comment":"Very disappointed!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Logan Lee","reviewerEmail":"logan.lee@x.dummyjson.com"},{"rating":4,"comment":"Would buy again!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Sophia Jones","reviewerEmail":"sophia.jones@x.dummyjson.com"}],"returnPolicy":"7 days return policy","minimumOrderQuantity":1,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"8575699153333","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/vivo-s1/1.webp","https://cdn.dummyjson.com/product-images/smartphones/vivo-s1/2.webp","https://cdn.dummyjson.com/product-images/smartphones/vivo-s1/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/vivo-s1/thumbnail.webp"},{"id":135,"title":"Vivo V9","description":"The Vivo V9 is a smartphone known for its sleek design and emphasis on capturing high-quality selfies. It features a notch display, dual-camera setup, and a modern design.","category":"smartphones","price":299.99,"discountPercentage":17.67,"rating":3.6,"stock":82,"tags":["smartphones","vivo"],"brand":"Vivo","sku":"SMA-VIV-VIV-135","weight":4,"dimensions":{"width":19.85,"height":21.83,"depth":13.04},"warrantyInformation":"2 year warranty","shippingInformation":"Ships in 1 month","availabilityStatus":"In Stock","reviews":[{"rating":2,"comment":"Very unhappy with my purchase!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Logan Lawson","reviewerEmail":"logan.lawson@x.dummyjson.com"},{"rating":5,"comment":"Awesome product!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Layla Young","reviewerEmail":"layla.young@x.dummyjson.com"},{"rating":4,"comment":"Great value for money!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Asher Scott","reviewerEmail":"asher.scott@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":2,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"4295398764784","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/vivo-v9/1.webp","https://cdn.dummyjson.com/product-images/smartphones/vivo-v9/2.webp","https://cdn.dummyjson.com/product-images/smartphones/vivo-v9/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/vivo-v9/thumbnail.webp"},{"id":136,"title":"Vivo X21","description":"The Vivo X21 is a premium smartphone with a focus on cutting-edge technology. It features an in-display fingerprint sensor, a high-resolution display, and advanced camera capabilities.","category":"smartphones","price":499.99,"discountPercentage":17.41,"rating":4.26,"stock":7,"tags":["smartphones","vivo"],"brand":"Vivo","sku":"SMA-VIV-VIV-136","weight":10,"dimensions":{"width":22.49,"height":21.62,"depth":27.88},"warrantyInformation":"1 year warranty","shippingInformation":"Ships in 1-2 business days","availabilityStatus":"In Stock","reviews":[{"rating":4,"comment":"Very pleased!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Liam Gonzalez","reviewerEmail":"liam.gonzalez@x.dummyjson.com"},{"rating":4,"comment":"Fast shipping!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Aurora Barnes","reviewerEmail":"aurora.barnes@x.dummyjson.com"},{"rating":2,"comment":"Not as described!","date":"2025-04-30T09:41:02.054Z","reviewerName":"Evelyn Walker","reviewerEmail":"evelyn.walker@x.dummyjson.com"}],"returnPolicy":"60 days return policy","minimumOrderQuantity":3,"meta":{"createdAt":"2025-04-30T09:41:02.054Z","updatedAt":"2025-04-30T09:41:02.054Z","barcode":"9944308291810","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/smartphones/vivo-x21/1.webp","https://cdn.dummyjson.com/product-images/smartphones/vivo-x21/2.webp","https://cdn.dummyjson.com/product-images/smartphones/vivo-x21/3.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/smartphones/vivo-x21/thumbnail.webp"}],"total":23,"skip":0,"limit":23}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000 ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body contains products array | 1 | 0 | 0 |
| search return at least one product | 1 | 0 | 0 |
| each product has required fields | 1 | 0 | 0 |
| required fields have correct data types | 1 | 0 | 0 |
| search query is reflected in the response | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Products with Limit, Skip, and Select
## Overview
This endpoint retrieves a paginated list of products from the DummyJSON API with the ability to control the number of results returned, skip a specified number of products, and select specific fields to include in the response.
## Purpose
This request demonstrates how to:
- Implement pagination using `limit` and `skip` parameters
- Filter response data to include only specific fields using the `select` parameter
- Optimize API responses by requesting only the data needed
- Validate pagination logic and field selection through automated tests
## Expected Behavior
The API should return a subset of products based on the pagination parameters, with each product containing only the fields specified in the `select` parameter. The response includes metadata about the total number of products available and the pagination state.
## Request Details
**Method:** `GET`
**URL:** `https://dummyjson.com/products?limit=10&skip=10&select=title,price`
**Query Parameters:**
- **limit** (integer): Maximum number of products to return in the response. Set to `10` to retrieve 10 products.
- **skip** (integer): Number of products to skip before starting to return results. Set to `10` to skip the first 10 products (useful for pagination).
- **select** (string): Comma-separated list of fields to include in each product object. Set to `title,price` to return only the title and price fields.
## Variables Used
- **baseUrl**: The base URL for the DummyJSON API endpoint (defined in the active environment)
## Response Details
**Structure:**
```json
{
"products": [
{
"id": 11,
"title": "Product Title",
"price": 99.99
}
],
"total": 100,
"skip": 10,
"limit": 10
}
```
**Fields:**
- **products** (array): Array of product objects containing only the selected fields
- **id** (number): Product identifier
- **title** (string): Product name/title
- **price** (number): Product price
- **total** (number): Total number of products available in the database
- **skip** (number): Number of products skipped (echoes the request parameter)
- **limit** (number): Maximum number of products returned (echoes the request parameter)
**Data Types:**
- `products`: Array of objects
- `total`, `skip`, `limit`: Numbers
- `title`: String
- `price`, `id`: Numbers
## Test Validations
This request includes comprehensive automated tests to validate the API response:
1. **Status Code Validation**: Verifies that the response status code is `200 OK`, indicating a successful request.
2. **Performance Check**: Ensures the response time is less than 2000ms to validate API performance.
3. **Content-Type Validation**: Confirms that the response Content-Type header is `application/json`.
4. **Products Array Existence**: Validates that the response body contains a `products` property that is an array.
5. **Required Fields Validation**: Checks that the response includes the required metadata fields: `total`, `skip`, and `limit`.
6. **Limit Parameter Validation**: Verifies that the number of products returned does not exceed the `limit` parameter specified in the request (10 products maximum).
7. **Skip Parameter Validation**: Confirms that pagination is working correctly by checking that the first product's ID equals `skip + 1` (in this case, the first product should have ID 11 when skip=10).
8. **Select Parameter Validation**: Ensures that each product in the response contains only the fields specified in the `select` parameter (`title` and `price`), validating that field filtering is working as expected.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 791d96d0-dc6f-4ab4-bd59-010ab6f50b37 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:08 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 97 |
| x-ratelimit-reset | 1769721617 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"24c-Ixzqnac0wdL7dYxmEYVxYgj0DEw" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=0C3jVx74Fe6kNlBwM168AVzRhQcGT3qJK0KDLXF6AfFTwY4zza2s008kuqZoZdaETYI7dssj2XKyToOWXR7oGLCksbXmR0hz%2FQwULa3QuRnnvEL35nfNANo%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc593fcb90c5b-AMM |
{"products":[{"id":11,"title":"Annibale Colombo Bed","price":1899.99},{"id":12,"title":"Annibale Colombo Sofa","price":2499.99},{"id":13,"title":"Bedside Table African Cherry","price":299.99},{"id":14,"title":"Knoll Saarinen Executive Conference Chair","price":499.99},{"id":15,"title":"Wooden Bathroom Sink With Mirror","price":799.99},{"id":16,"title":"Apple","price":1.99},{"id":17,"title":"Beef Steak","price":12.99},{"id":18,"title":"Cat Food","price":8.99},{"id":19,"title":"Chicken Meat","price":9.99},{"id":20,"title":"Cooking Oil","price":4.99}],"total":194,"skip":10,"limit":10}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-Type is application/json | 1 | 0 | 0 |
| response body contains products array | 1 | 0 | 0 |
| response body contains required fields | 1 | 0 | 0 |
| products count is less than or equal to limit | 1 | 0 | 0 |
| products returned are correct based on skip parameter | 1 | 0 | 0 |
| response body contains selected fields | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Add New Product
## Overview
This request creates a new product in the DummyJSON API system by sending product details via a POST request. It validates that the product is successfully created and that the response contains all the submitted information along with a generated product ID.
## Purpose
The primary purpose of this request is to:
- Add a new product to the product catalog
- Verify that the API correctly processes and stores product information
- Ensure the response includes all submitted data plus a system-generated identifier
- Validate API performance and response structure
## Expected Behavior
When executed, this request should:
- Send product details (title, description, category, price) to the API endpoint
- Receive a `201 Created` status code indicating successful product creation
- Return a response containing all the original product fields plus a newly generated `id`
- Complete the operation within 2 seconds
- Return properly formatted JSON data
## Request Details
**Method:** `POST`
**URL:** `https://dummyjson.com/products/add`
**Request Body Structure:**
```json
{
"title": "Red Nail Polish",
"description": "Red Nail Polish with glow effect",
"category": "Beauty",
"price": 5
}
```
**Body Fields:**
- `title` (string): The name of the product
- `description` (string): Detailed description of the product
- `category` (string): Product category classification
- `price` (number): Product price value
## Variables Used
- **`baseUrl`**: The base URL for the DummyJSON API endpoint. This variable is defined in the active environment and allows for easy switching between different API environments (e.g., QA, production).
## Response Details
**Expected Status Code:** `201 Created`
**Response Structure:**
The API returns a JSON object containing all the submitted product fields plus an auto-generated identifier.
**Response Fields:**
- `id` (number): System-generated unique identifier for the newly created product
- `title` (string): Product name as submitted in the request
- `description` (string): Product description as submitted in the request
- `category` (string): Product category as submitted in the request
- `price` (number): Product price as submitted in the request
**Example Response:**
```json
{
"id": 195,
"title": "Red Nail Polish",
"description": "Red Nail Polish with glow effect",
"category": "Beauty",
"price": 5
}
```
## Test Validations
This request includes 7 automated test validations that run after receiving the response:
1. **Status Code Validation**: Verifies that the response status code is `201`, confirming successful product creation.
2. **Performance Validation**: Ensures the response time is less than 2000ms (2 seconds), validating acceptable API performance.
3. **Content-Type Validation**: Checks that the response `Content-Type` header includes `application/json`, confirming proper response format.
4. **Response Structure Validation**: Validates that the response body is a JSON object, ensuring the correct data structure.
5. **ID Field Validation**: Confirms that the response body contains an `id` property and that it is of number data type, verifying the system generated a valid identifier.
6. **Request Body Keys Validation**: Iterates through all keys in the request body and verifies that each key exists in the response, ensuring no data was lost during processing.
7. **Request Body Values Validation**: Compares all values from the request body with corresponding values in the response, confirming that the API accurately stored and returned the submitted product information.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 25385eef-afdc-4acc-ae70-7f7169534923 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 133 |
{
"title": "Red Nail Polish",
"description":"Red Nail Polish with glow effect",
"category":"Beauty",
"price":5
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:08 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 115 |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 99 |
| x-ratelimit-reset | 1769721617 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"73-zkKcG4JUzvalQo/LgvbqhkmQ7HQ" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=i29bgAakx151kdAv9R1yNEGB4Y9znHVcCCenCCHj1dBnICg1iGUYg%2BzEC9i9YExU5i0EkZFKE6gmx5%2BaFsGxQD%2BJK4v%2Fx8r53DuzRLdO36VNKDoiWg9Kjzo%3D"}]} |
| CF-RAY | 9c5bc59579620c5b-AMM |
{"id":195,"title":"Red Nail Polish","price":5,"description":"Red Nail Polish with glow effect","category":"Beauty"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 201 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-Type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body has id key and is number data type | 1 | 0 | 0 |
| returned product contains all request body keys | 1 | 0 | 0 |
| returned product contains all request body values | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Update Product
## Overview
This endpoint allows partial updates to an existing product in the system using the PATCH HTTP method. It enables modification of specific product fields without requiring all product data to be sent in the request.
## Purpose
The primary purpose of this request is to update selected attributes of a product identified by its unique `product_id`. This is particularly useful when you need to modify only certain fields (such as title or category) while leaving other product attributes unchanged.
## Expected Behavior
When executed successfully, this request will:
- Accept a partial product object containing only the fields to be updated
- Update the specified fields for the product matching the provided `product_id`
- Return the complete updated product object in the response
- Validate that the changes were applied correctly through automated tests
## Request Details
**Method:** `PATCH`
**URL:** `https://dummyjson.com/products/1`
**Request Body Structure:**
The request body is sent as raw JSON and includes the fields to be updated:
```json
{
"title": "Lip Gloss",
"category": "Makeup"
}
```
**Fields:**
- `title` (string): The updated product title/name
- `category` (string): The updated product category
## Variables Used
This request utilizes the following variables:
- **`baseUrl`**: The base URL of the API endpoint (e.g., `https://dummyjson.com`)
- **`product_id`**: The unique identifier of the product to be updated
These variables should be defined in your active environment for the request to execute properly.
## Response Details
The API returns a JSON object representing the updated product with the following characteristics:
**Structure:** JSON Object
**Response Fields:**
- Contains all product fields including both updated and unchanged attributes
- The fields specified in the request body (`title`, `category`) will reflect the new values
- Other product fields (such as `id`, `price`, `description`, etc.) remain unchanged
**Data Types:**
- String fields for textual data (title, category, description)
- Numeric fields for quantitative data (id, price, stock)
- The response structure matches the complete product schema
**Key Behavior:** The response returns the full product object after applying the updates, allowing you to verify that only the specified fields were modified while all other data remained intact.
## Test Validations
This request includes 5 automated tests in the post-response script to ensure proper functionality:
1. **Status Code Validation**: Verifies that the response status code is `200`, confirming the update was successful.
2. **Response Time Check**: Ensures the API responds within 2000 milliseconds (2 seconds), validating acceptable performance.
3. **Content-Type Verification**: Confirms that the response `Content-Type` header includes `application/json`, ensuring the correct data format.
4. **Response Structure Validation**: Checks that the response body is a valid JSON object, confirming proper data structure.
5. **Field Update Verification**: Dynamically validates that each field sent in the request body matches the corresponding field in the response, ensuring all specified updates were applied correctly. This test iterates through all keys in the request body and compares them with the response values.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d0514baf-26e6-4878-9e00-310dfe657bb5 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 55 |
{
"title":"Lip Gloss",
"category":"Makeup"
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:08 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 92 |
| x-ratelimit-reset | 1769721611 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"212-MnhZ1KLQAeMJ5PyhRQ885JHlhEk" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=TNI6iSQrTEWCe3O02D2oZLpCXDUldyAtLB8aj7KNmsAh8jOgZcKAGoA7%2FiZC1A20KonYy4boCYwApzcHkn43Qdri3wsiOu6YjL62are8kHTdh1DtRbmp28g%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc596fd370c5b-AMM |
{"id":1,"title":"Lip Gloss","price":9.99,"discountPercentage":10.48,"stock":99,"rating":2.56,"images":["https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/thumbnail.webp","description":"The Essence Mascara Lash Princess is a popular mascara known for its volumizing and lengthening effects. Achieve dramatic lashes with this long-lasting and cruelty-free formula.","brand":"Essence","category":"Makeup"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| edited fields are updated | 1 | 0 | 0 |
| Total | 5 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Delete Product
## Overview
This endpoint removes a product from the system by its unique identifier. The DELETE operation marks the product as deleted and returns confirmation details including the deletion timestamp.
## Purpose
To permanently delete a specific product from the inventory system using its product ID. This operation is typically used when a product needs to be removed from the catalog or inventory management system.
## Expected Behavior
When a valid product ID is provided, the API will:
- Mark the product as deleted in the system
- Return a confirmation response with deletion status
- Include a timestamp indicating when the deletion occurred
- Respond with a 200 OK status code upon successful deletion
## Request Details
- **Method:** `DELETE`
- **URL:** `https://dummyjson.com/products/1`
- **Request Body:** None required
The endpoint uses a path variable to identify which product to delete. No request body is needed for this operation.
## Variables Used
- **`baseUrl`**: The base URL of the API server (e.g., https://dummyjson.com)
- **`product_id`**: The unique identifier of the product to be deleted
## Response Details
The API returns a JSON object confirming the deletion operation.
**Response Structure:**
```json
{
"isDeleted": boolean,
"deletedOn": string
}
```
**Response Fields:**
- **`isDeleted`** (boolean): Indicates whether the product has been successfully deleted. Returns `true` when deletion is successful.
- **`deletedOn`** (string): A timestamp string representing when the product was deleted from the system.
## Test Validations
The request includes 7 automated test validations to ensure proper API behavior:
1. **Status Code Validation**: Verifies that the response status code is 200, confirming successful deletion
2. **Response Time Check**: Ensures the API responds within 2000 milliseconds for optimal performance
3. **Content-Type Validation**: Confirms the response Content-Type header is `application/json`
4. **Response Structure Validation**: Verifies that the response body is a valid JSON object
5. **isDeleted Property Validation**: Checks that the response contains an `isDeleted` property with a boolean data type
6. **deletedOn Property Validation**: Checks that the response contains a `deletedOn` property with a string data type
7. **Deletion Confirmation**: Validates that the `isDeleted` field is `true`, confirming the product was successfully deleted
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 3ac4e18d-4241-436e-89b4-6a146f8e5ab5 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:09 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 91 |
| x-ratelimit-reset | 1769721611 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"61e-KyHKXQXTLAHvxl/lCzN1jjbKKZI" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=NRQeXevsOrviKwmYG8XAzCrZQ22qrlfb25z0BLXSZDW7oAGgFGN7zy9Mjl7mzT7whWPJO%2Flm6PUKsHi3oF%2FupW95UbdPwqhiNgKsyL5Vx6h48miXptolOQg%3D"}]} |
| CF-RAY | 9c5bc59849010c5b-AMM |
{"id":1,"title":"Essence Mascara Lash Princess","description":"The Essence Mascara Lash Princess is a popular mascara known for its volumizing and lengthening effects. Achieve dramatic lashes with this long-lasting and cruelty-free formula.","category":"beauty","price":9.99,"discountPercentage":10.48,"rating":2.56,"stock":99,"tags":["beauty","mascara"],"brand":"Essence","sku":"BEA-ESS-ESS-001","weight":4,"dimensions":{"width":15.14,"height":13.08,"depth":22.99},"warrantyInformation":"1 week warranty","shippingInformation":"Ships in 3-5 business days","availabilityStatus":"In Stock","reviews":[{"rating":3,"comment":"Would not recommend!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Collins","reviewerEmail":"eleanor.collins@x.dummyjson.com"},{"rating":4,"comment":"Very satisfied!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Lucas Gordon","reviewerEmail":"lucas.gordon@x.dummyjson.com"},{"rating":5,"comment":"Highly impressed!","date":"2025-04-30T09:41:02.053Z","reviewerName":"Eleanor Collins","reviewerEmail":"eleanor.collins@x.dummyjson.com"}],"returnPolicy":"No return policy","minimumOrderQuantity":48,"meta":{"createdAt":"2025-04-30T09:41:02.053Z","updatedAt":"2025-04-30T09:41:02.053Z","barcode":"5784719087687","qrCode":"https://cdn.dummyjson.com/public/qr-code.png"},"images":["https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/1.webp"],"thumbnail":"https://cdn.dummyjson.com/product-images/beauty/essence-mascara-lash-princess/thumbnail.webp","isDeleted":true,"deletedOn":"2026-01-29T21:20:09.076Z"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body has is deleted property with correct data type | 1 | 0 | 0 |
| response body has deleted on property with correct data type | 1 | 0 | 0 |
| product is deleted | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Get Product with Invalid ID
## Overview
This is a negative test case designed to validate the API's error handling capabilities when attempting to retrieve a product using an invalid product ID. The request intentionally uses an invalid identifier to ensure the API responds appropriately with proper error messages and status codes.
## Purpose
The primary purpose of this test is to:
- Verify that the API correctly handles invalid product ID requests
- Ensure appropriate HTTP error status codes are returned (404 Not Found)
- Validate that meaningful error messages are provided to API consumers
- Confirm the API's robustness in handling edge cases and invalid inputs
## Expected Behavior
When this request is executed with an invalid product ID, the API should:
- Return a **404 Not Found** status code
- Provide a JSON response containing an error message
- Include a descriptive message indicating the product was not found
- Handle the error gracefully without server crashes or unexpected behavior
## Request Details
- **HTTP Method:** `GET`
- **Endpoint URL:** `https://dummyjson.com/products/99999999`
- **Request Body:** None (GET requests do not include a request body)
The endpoint follows RESTful conventions for retrieving a single resource by ID, where the product ID is passed as a path parameter.
## Variables Used
This request utilizes the following variables:
| Variable | Description |
|----------|-------------|
| `baseUrl` | The base URL of the API endpoint (e.g., https://dummyjson.com) |
| `invalid_id` | An invalid product identifier used to trigger the error response |
These variables should be configured in the active environment to ensure the test executes correctly.
## Response Details
**Expected Status Code:** `404 Not Found`
**Response Structure:**
The API returns a JSON object containing error information:
```json
{
"message": "Product with id '[invalid_id]' not found"
}
```
**Response Fields:**
- `message` (string): A descriptive error message indicating that the requested product could not be found
**Data Types:**
- The response is a JSON object
- The `message` field contains a string value with details about the error
## Test Validations
This request includes three automated test validations in the post-response script:
### 1. **Status Code Validation**
- **Test Name:** "Status code is 404"
- **Purpose:** Verifies that the API returns the correct HTTP status code (404) when an invalid product ID is provided
- **Validation:** Checks that `pm.response.to.have.status(404)`
### 2. **Error Message Presence**
- **Test Name:** "response body contains error message"
- **Purpose:** Ensures the response body includes a `message` property to communicate the error to the client
- **Validation:** Checks that the response object has a property named "message"
### 3. **Error Message Content**
- **Test Name:** "response body contains proper error message"
- **Purpose:** Validates that the error message is meaningful and specifically indicates the resource was "not found"
- **Validation:** Checks that the message text (case-insensitive) includes the phrase "not found"
All three tests must pass for this negative test case to be considered successful, ensuring comprehensive validation of the API's error handling behavior.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b2f40036-260d-4bc1-b81c-fa6a82c98858 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:09 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 98 |
| x-ratelimit-reset | 1769721617 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"32-zUUkJE53bVqc5DHiuD4GsBHb/1U" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=5Fx0nMK7%2FlkYRUdEU03O5n6UxFDrS7CbHni4Eg2PU8pVG%2FsBMOzpCDxFnfydrrCThO3O5v4VOhJzD43ZeMtasU7vc9S%2F63E420BRhFulA0CMjnb069dEea8%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc599cd4f0c5b-AMM |
{"message":"Product with id '99999999' not found"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| response body contains error message | 1 | 0 | 0 |
| response body contains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Delete Product with Invalid ID
## Overview
This is a negative test case designed to validate the API's error handling when attempting to delete a product using an invalid product ID. The request tests whether the API properly rejects deletion attempts with non-existent product identifiers and returns appropriate error responses.
## Purpose
The purpose of this test is to ensure that:
- The API correctly handles invalid product IDs during delete operations
- Proper HTTP status codes are returned for failed deletion attempts
- Error messages are clear and informative
- The API maintains data integrity by preventing operations on non-existent resources
## Expected Behavior
When a DELETE request is sent with an invalid product ID, the API should:
- Return a `404 Not Found` status code
- Provide a JSON response containing an error message
- Include the text "not found" in the error message
- Reject the deletion operation without affecting any existing data
## Request Details
- **Method:** `DELETE`
- **URL:** `https://dummyjson.com/products/99999999`
- **Request Body:** None (DELETE requests typically do not include a request body)
- **Path Variable:** The `invalid_id` variable is used in the URL path to represent a non-existent product identifier
## Variables Used
- **`baseUrl`**: The base URL of the API endpoint (e.g., the root domain and path)
- **`invalid_id`**: A product ID that does not exist in the system, used to trigger the error scenario
## Response Details
The expected response structure for this negative test case:
- **Status Code:** `404` (Not Found)
- **Response Body Structure:**
- `message` (string): An error message describing why the deletion failed
- **Data Types:**
- The response is in JSON format
- The `message` field contains a string value that includes "not found" text
Example response:
```json
{
"message": "Product not found"
}
```
## Test Validations
This request includes three automated test validations in the post-response script:
1. **Status Code Validation**: Verifies that the response status code is `404`, confirming that the API correctly identifies the product as non-existent.
2. **Error Message Property Check**: Ensures that the response body contains a `message` property, validating that the API provides error information in the expected format.
3. **Error Message Content Validation**: Confirms that the error message includes the text "not found" (case-insensitive), ensuring the error message is meaningful and accurately describes the issue.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | d4952db6-53e0-450e-bf7c-73b2c58324b7 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:09 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 91 |
| x-ratelimit-reset | 1769721613 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"32-zUUkJE53bVqc5DHiuD4GsBHb/1U" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=qFkUdptvZFn1NOBaHJ3iW5Ag3itIolxz8C%2FaDZxXyJ7ToWdi3JStDqjIIndtPJ9A84B8bOeS4mu%2BnWw24OU1iVhm4EnKmcS6y1Z8WeAB7TZmZI7PGFJCths%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc59c7d220c5b-AMM |
{"message":"Product with id '99999999' not found"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| response body contains error message | 1 | 0 | 0 |
| response body contains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Carts-List
## Overview
This endpoint retrieves a list of all shopping carts from the DummyJSON API. It provides comprehensive cart information including products, totals, discounts, and user associations.
## Purpose
The primary purpose of this request is to fetch all available carts in the system. This is useful for:
- Monitoring active shopping carts
- Analyzing cart data across users
- Testing cart retrieval functionality
- Validating cart data structure and integrity
## Expected Behaviour
When this request is executed successfully, it returns a JSON response containing an array of cart objects. Each cart includes detailed information about the products added, pricing details, and the associated user.
## Request Details
**HTTP Method:** `GET`
**Endpoint URL:** `https://dummyjson.com/carts`
**Headers:** None required
**Query Parameters:** None
**Path Variables:** None
**Authentication:** None required for this endpoint
## Variables Used
| Variable | Description | Example Value |
| --- | --- | --- |
| `baseUrl` | The base URL for the DummyJSON API | `https://dummyjson.com` |
The `baseUrl` variable is defined in the active environment and should point to the root URL of the DummyJSON API.
## Response Details
The response returns a JSON object with the following structure:
``` json
{
"carts": [
{
"id": number,
"products": array,
"total": number,
"discountedTotal": number,
"userId": number,
"totalProducts": number,
"totalQuantity": number
}
],
"total": number,
"skip": number,
"limit": number
}
```
**Response Fields:**
- `carts` (array): An array containing all cart objects
- `id` (number): Unique identifier for the cart
- `products` (array): Array of product objects in the cart
- `total` (number): Total price before discounts
- `discountedTotal` (number): Total price after applying discounts
- `userId` (number): ID of the user who owns the cart
- `totalProducts` (number): Total number of unique products in the cart
- `totalQuantity` (number): Total quantity of all products in the cart
- `total` (number): Total number of carts available
- `skip` (number): Number of carts skipped for pagination
- `limit` (number): Maximum number of carts returned per request
## Test Validations
This request includes comprehensive automated test validations to ensure the API response meets expected standards. All tests are executed automatically after receiving the response.
### 1\. Status Code Validation
**Test:** Status code is 200
**Validates:** The API successfully processes the request and returns an HTTP 200 OK status code, indicating successful retrieval of cart data.
### 2\. Response Time Performance
**Test:** Response time is less than 2000 ms
**Validates:** The API responds within acceptable performance thresholds (under 2 seconds), ensuring good user experience and system responsiveness.
### 3\. Content-Type Header Validation
**Test:** Response Content-type is application/json
**Validates:** The response is returned in JSON format as expected, with the correct Content-Type header set to application/json.
### 4\. Response Body Structure - Carts Array
**Test:** response body contains cart array
**Validates:** The response body contains the required `carts` property and that it is an array data type, confirming the correct response structure.
### 5\. Data Availability Check
**Test:** cart list is not empty
**Validates:** The carts array contains at least one cart object, ensuring that data is being returned and the system has cart records available.
### 6\. Cart Object Required Fields
**Test:** each cart contains required fields
**Validates:** Every cart object in the response contains all mandatory fields: `id`, `products`, `total`, `discountedTotal`, `userId`, `totalProducts`, and `totalQuantity`.
### 7\. Cart Object Data Type Validation
**Test:** each cart contains fields with correct data types
**Validates:** All cart fields have the correct data types - `id`, `total`, `discountedTotal`, `userId`, `totalProducts`, and `totalQuantity` are numbers, and `products` is an array.
### 8\. Cart Products Array Validation
**Test:** each cart product array is not empty
**Validates:** Each cart's products array contains at least one product, ensuring that carts are not empty and contain actual product data.
### 9\. Product Object Required Fields
**Test:** cart products contain required fields
**Validates:** Each product within a cart contains all necessary fields such as product ID, title, price, quantity, and other product-specific information.
### 10\. Pagination Fields Validation
**Test:** response body contains pagination fields
**Validates:** The response includes pagination metadata fields (`total`, `skip`, `limit`) to support proper pagination handling and navigation through cart data.
### 11\. Pagination Limit Compliance
**Test:** carts count does not exceed limit
**Validates:** The number of carts returned in the response does not exceed the specified limit parameter, ensuring proper pagination behavior and API contract compliance.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | cd32eae1-9909-4822-adda-91498cae4dc9 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:10 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 90 |
| x-ratelimit-reset | 1769721611 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"7d39-+rQ7kyHBCLIn9tjTeKVf4oegWkQ" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=a4AZGResyOgVROEM%2FvSFZejudTjL2EYzxkzOPLLzx6wYXsuOhVArHMyP2h1ha8EY1VQJx%2BF8KGRgOCtj9jbKKI5Ayw0KzAcU7vVgLnNNQ128tsL87Qed2Ro%3D"}]} |
| CF-RAY | 9c5bc59df8ff0c5b-AMM |
{"carts":[{"id":1,"products":[{"id":168,"title":"Charger SXT RWD","price":32999.99,"quantity":3,"total":98999.97,"discountPercentage":13.39,"discountedTotal":85743.87,"thumbnail":"https://cdn.dummyjson.com/products/images/vehicle/Charger%20SXT%20RWD/thumbnail.png"},{"id":78,"title":"Apple MacBook Pro 14 Inch Space Grey","price":1999.99,"quantity":2,"total":3999.98,"discountPercentage":18.52,"discountedTotal":3259.18,"thumbnail":"https://cdn.dummyjson.com/products/images/laptops/Apple%20MacBook%20Pro%2014%20Inch%20Space%20Grey/thumbnail.png"},{"id":183,"title":"Green Oval Earring","price":24.99,"quantity":5,"total":124.94999999999999,"discountPercentage":6.28,"discountedTotal":117.1,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-jewellery/Green%20Oval%20Earring/thumbnail.png"},{"id":100,"title":"Apple Airpods","price":129.99,"quantity":5,"total":649.95,"discountPercentage":12.84,"discountedTotal":566.5,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Apple%20Airpods/thumbnail.png"}],"total":103774.85,"discountedTotal":89686.65,"userId":33,"totalProducts":4,"totalQuantity":15},{"id":2,"products":[{"id":144,"title":"Cricket Helmet","price":44.99,"quantity":4,"total":179.96,"discountPercentage":11.47,"discountedTotal":159.32,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Cricket%20Helmet/thumbnail.png"},{"id":124,"title":"iPhone X","price":899.99,"quantity":4,"total":3599.96,"discountPercentage":8.03,"discountedTotal":3310.88,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/iPhone%20X/thumbnail.png"},{"id":148,"title":"Golf Ball","price":9.99,"quantity":4,"total":39.96,"discountPercentage":11.24,"discountedTotal":35.47,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Golf%20Ball/thumbnail.png"},{"id":122,"title":"iPhone 6","price":299.99,"quantity":3,"total":899.97,"discountPercentage":19.64,"discountedTotal":723.22,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/iPhone%206/thumbnail.png"},{"id":110,"title":"Selfie Lamp with iPhone","price":14.99,"quantity":5,"total":74.95,"discountPercentage":19.87,"discountedTotal":60.06,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Selfie%20Lamp%20with%20iPhone/thumbnail.png"}],"total":4794.8,"discountedTotal":4288.95,"userId":142,"totalProducts":5,"totalQuantity":20},{"id":3,"products":[{"id":98,"title":"Rolex Submariner Watch","price":13999.99,"quantity":1,"total":13999.99,"discountPercentage":16.35,"discountedTotal":11710.99,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-watches/Rolex%20Submariner%20Watch/thumbnail.png"},{"id":125,"title":"Oppo A57","price":249.99,"quantity":5,"total":1249.95,"discountPercentage":16.54,"discountedTotal":1043.21,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Oppo%20A57/thumbnail.png"},{"id":55,"title":"Egg Slicer","price":6.99,"quantity":2,"total":13.98,"discountPercentage":16.04,"discountedTotal":11.74,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Egg%20Slicer/thumbnail.png"},{"id":62,"title":"Ice Cube Tray","price":5.99,"quantity":2,"total":11.98,"discountPercentage":8.25,"discountedTotal":10.99,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Ice%20Cube%20Tray/thumbnail.png"},{"id":132,"title":"Samsung Galaxy S8","price":499.99,"quantity":3,"total":1499.97,"discountPercentage":8.84,"discountedTotal":1367.37,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Samsung%20Galaxy%20S8/thumbnail.png"}],"total":16775.87,"discountedTotal":14144.3,"userId":108,"totalProducts":5,"totalQuantity":13},{"id":4,"products":[{"id":187,"title":"Golden Shoes Woman","price":49.99,"quantity":5,"total":249.95000000000002,"discountPercentage":1.64,"discountedTotal":245.85,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-shoes/Golden%20Shoes%20Woman/thumbnail.png"},{"id":40,"title":"Strawberry","price":3.99,"quantity":5,"total":19.950000000000003,"discountPercentage":4.6,"discountedTotal":19.03,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Strawberry/thumbnail.png"},{"id":156,"title":"Green and Black Glasses","price":34.99,"quantity":5,"total":174.95000000000002,"discountPercentage":4.34,"discountedTotal":167.36,"thumbnail":"https://cdn.dummyjson.com/products/images/sunglasses/Green%20and%20Black%20Glasses/thumbnail.png"},{"id":62,"title":"Ice Cube Tray","price":5.99,"quantity":2,"total":11.98,"discountPercentage":8.25,"discountedTotal":10.99,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Ice%20Cube%20Tray/thumbnail.png"}],"total":456.83,"discountedTotal":443.23,"userId":87,"totalProducts":4,"totalQuantity":17},{"id":5,"products":[{"id":108,"title":"iPhone 12 Silicone Case with MagSafe Plum","price":29.99,"quantity":2,"total":59.98,"discountPercentage":14.68,"discountedTotal":51.17,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/iPhone%2012%20Silicone%20Case%20with%20MagSafe%20Plum/thumbnail.png"},{"id":138,"title":"Baseball Ball","price":8.99,"quantity":5,"total":44.95,"discountPercentage":18.49,"discountedTotal":36.64,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Baseball%20Ball/thumbnail.png"},{"id":157,"title":"Party Glasses","price":19.99,"quantity":2,"total":39.98,"discountPercentage":19.17,"discountedTotal":32.32,"thumbnail":"https://cdn.dummyjson.com/products/images/sunglasses/Party%20Glasses/thumbnail.png"},{"id":8,"title":"Dior J'adore","price":89.99,"quantity":3,"total":269.96999999999997,"discountPercentage":10.79,"discountedTotal":240.84,"thumbnail":"https://cdn.dummyjson.com/products/images/fragrances/Dior%20J'adore/thumbnail.png"},{"id":80,"title":"Huawei Matebook X Pro","price":1399.99,"quantity":5,"total":6999.95,"discountPercentage":9.99,"discountedTotal":6300.65,"thumbnail":"https://cdn.dummyjson.com/products/images/laptops/Huawei%20Matebook%20X%20Pro/thumbnail.png"},{"id":28,"title":"Ice Cream","price":5.49,"quantity":3,"total":16.47,"discountPercentage":10,"discountedTotal":14.82,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Ice%20Cream/thumbnail.png"}],"total":7431.3,"discountedTotal":6676.44,"userId":134,"totalProducts":6,"totalQuantity":20},{"id":6,"products":[{"id":172,"title":"Blue Women's Handbag","price":49.99,"quantity":5,"total":249.95000000000002,"discountPercentage":8.08,"discountedTotal":229.75,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-bags/Blue%20Women's%20Handbag/thumbnail.png"},{"id":112,"title":"TV Studio Camera Pedestal","price":499.99,"quantity":3,"total":1499.97,"discountPercentage":15.69,"discountedTotal":1264.62,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/TV%20Studio%20Camera%20Pedestal/thumbnail.png"},{"id":97,"title":"Rolex Datejust","price":10999.99,"quantity":3,"total":32999.97,"discountPercentage":10.58,"discountedTotal":29508.57,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-watches/Rolex%20Datejust/thumbnail.png"},{"id":128,"title":"Realme C35","price":149.99,"quantity":3,"total":449.97,"discountPercentage":3.97,"discountedTotal":432.11,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Realme%20C35/thumbnail.png"}],"total":35199.86,"discountedTotal":31435.05,"userId":150,"totalProducts":4,"totalQuantity":14},{"id":7,"products":[{"id":167,"title":"300 Touring","price":28999.99,"quantity":5,"total":144999.95,"discountPercentage":11.78,"discountedTotal":127918.96,"thumbnail":"https://cdn.dummyjson.com/products/images/vehicle/300%20Touring/thumbnail.png"},{"id":111,"title":"Selfie Stick Monopod","price":12.99,"quantity":4,"total":51.96,"discountPercentage":10.98,"discountedTotal":46.25,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Selfie%20Stick%20Monopod/thumbnail.png"},{"id":129,"title":"Realme X","price":299.99,"quantity":2,"total":599.98,"discountPercentage":10.13,"discountedTotal":539.2,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Realme%20X/thumbnail.png"}],"total":145651.89,"discountedTotal":128504.41,"userId":86,"totalProducts":3,"totalQuantity":11},{"id":8,"products":[{"id":117,"title":"Sportbike Motorcycle","price":7499.99,"quantity":2,"total":14999.98,"discountPercentage":19.83,"discountedTotal":12025.48,"thumbnail":"https://cdn.dummyjson.com/products/images/motorcycle/Sportbike%20Motorcycle/thumbnail.png"},{"id":18,"title":"Cat Food","price":8.99,"quantity":4,"total":35.96,"discountPercentage":1.15,"discountedTotal":35.55,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Cat%20Food/thumbnail.png"},{"id":105,"title":"Apple MagSafe Battery Pack","price":99.99,"quantity":5,"total":499.95,"discountPercentage":7.14,"discountedTotal":464.25,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Apple%20MagSafe%20Battery%20Pack/thumbnail.png"},{"id":6,"title":"Calvin Klein CK One","price":49.99,"quantity":3,"total":149.97,"discountPercentage":5.67,"discountedTotal":141.47,"thumbnail":"https://cdn.dummyjson.com/products/images/fragrances/Calvin%20Klein%20CK%20One/thumbnail.png"}],"total":15685.86,"discountedTotal":12666.75,"userId":23,"totalProducts":4,"totalQuantity":14},{"id":9,"products":[{"id":178,"title":"Corset Leather With Skirt","price":89.99,"quantity":2,"total":179.98,"discountPercentage":12.59,"discountedTotal":157.32,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-dresses/Corset%20Leather%20With%20Skirt/thumbnail.png"},{"id":191,"title":"Rolex Cellini Moonphase","price":15999.99,"quantity":4,"total":63999.96,"discountPercentage":3.26,"discountedTotal":61913.56,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-watches/Rolex%20Cellini%20Moonphase/thumbnail.png"},{"id":47,"title":"Table Lamp","price":49.99,"quantity":2,"total":99.98,"discountPercentage":13.74,"discountedTotal":86.24,"thumbnail":"https://cdn.dummyjson.com/products/images/home-decoration/Table%20Lamp/thumbnail.png"},{"id":134,"title":"Vivo S1","price":249.99,"quantity":5,"total":1249.95,"discountPercentage":5.64,"discountedTotal":1179.45,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Vivo%20S1/thumbnail.png"}],"total":65529.87,"discountedTotal":63336.57,"userId":194,"totalProducts":4,"totalQuantity":13},{"id":10,"products":[{"id":190,"title":"IWC Ingenieur Automatic Steel","price":4999.99,"quantity":5,"total":24999.949999999997,"discountPercentage":12.34,"discountedTotal":21914.96,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-watches/IWC%20Ingenieur%20Automatic%20Steel/thumbnail.png"},{"id":94,"title":"Longines Master Collection","price":1499.99,"quantity":3,"total":4499.97,"discountPercentage":16.44,"discountedTotal":3760.17,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-watches/Longines%20Master%20Collection/thumbnail.png"}],"total":29499.92,"discountedTotal":25675.13,"userId":160,"totalProducts":2,"totalQuantity":8},{"id":11,"products":[{"id":88,"title":"Nike Air Jordan 1 Red And Black","price":149.99,"quantity":1,"total":149.99,"discountPercentage":17.18,"discountedTotal":124.22,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-shoes/Nike%20Air%20Jordan%201%20Red%20And%20Black/thumbnail.png"},{"id":32,"title":"Milk","price":3.49,"quantity":3,"total":10.47,"discountPercentage":9.36,"discountedTotal":9.49,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Milk/thumbnail.png"},{"id":74,"title":"Spoon","price":4.99,"quantity":3,"total":14.97,"discountPercentage":2.78,"discountedTotal":14.55,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Spoon/thumbnail.png"},{"id":145,"title":"Cricket Wicket","price":29.99,"quantity":3,"total":89.97,"discountPercentage":17.87,"discountedTotal":73.89,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Cricket%20Wicket/thumbnail.png"},{"id":26,"title":"Green Chili Pepper","price":0.99,"quantity":3,"total":2.9699999999999998,"discountPercentage":18.69,"discountedTotal":2.41,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Green%20Chili%20Pepper/thumbnail.png"},{"id":127,"title":"Oppo K1","price":299.99,"quantity":1,"total":299.99,"discountPercentage":15.93,"discountedTotal":252.2,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Oppo%20K1/thumbnail.png"}],"total":568.36,"discountedTotal":476.76,"userId":172,"totalProducts":6,"totalQuantity":14},{"id":12,"products":[{"id":63,"title":"Kitchen Sieve","price":7.99,"quantity":4,"total":31.96,"discountPercentage":18.8,"discountedTotal":25.95,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Kitchen%20Sieve/thumbnail.png"},{"id":181,"title":"Marni Red & Black Suit","price":179.99,"quantity":5,"total":899.95,"discountPercentage":14.21,"discountedTotal":772.07,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-dresses/Marni%20Red%20&%20Black%20Suit/thumbnail.png"}],"total":931.91,"discountedTotal":798.02,"userId":202,"totalProducts":2,"totalQuantity":9},{"id":13,"products":[{"id":85,"title":"Man Plaid Shirt","price":34.99,"quantity":2,"total":69.98,"discountPercentage":3.7,"discountedTotal":67.39,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-shirts/Man%20Plaid%20Shirt/thumbnail.png"},{"id":109,"title":"Monopod","price":19.99,"quantity":3,"total":59.97,"discountPercentage":12.95,"discountedTotal":52.2,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Monopod/thumbnail.png"},{"id":160,"title":"Samsung Galaxy Tab S8 Plus Grey","price":599.99,"quantity":1,"total":599.99,"discountPercentage":4.31,"discountedTotal":574.13,"thumbnail":"https://cdn.dummyjson.com/products/images/tablets/Samsung%20Galaxy%20Tab%20S8%20Plus%20Grey/thumbnail.png"},{"id":163,"title":"Girl Summer Dress","price":19.99,"quantity":3,"total":59.97,"discountPercentage":9.44,"discountedTotal":54.31,"thumbnail":"https://cdn.dummyjson.com/products/images/tops/Girl%20Summer%20Dress/thumbnail.png"},{"id":31,"title":"Lemon","price":0.79,"quantity":4,"total":3.16,"discountPercentage":12.32,"discountedTotal":2.77,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Lemon/thumbnail.png"}],"total":793.07,"discountedTotal":750.8,"userId":41,"totalProducts":5,"totalQuantity":13},{"id":14,"products":[{"id":92,"title":"Sports Sneakers Off White Red","price":109.99,"quantity":3,"total":329.96999999999997,"discountPercentage":17.73,"discountedTotal":271.47,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-shoes/Sports%20Sneakers%20Off%20White%20Red/thumbnail.png"},{"id":54,"title":"Citrus Squeezer Yellow","price":8.99,"quantity":5,"total":44.95,"discountPercentage":6.3,"discountedTotal":42.12,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Citrus%20Squeezer%20Yellow/thumbnail.png"},{"id":76,"title":"Wooden Rolling Pin","price":11.99,"quantity":1,"total":11.99,"discountPercentage":8.45,"discountedTotal":10.98,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Wooden%20Rolling%20Pin/thumbnail.png"},{"id":44,"title":"Family Tree Photo Frame","price":29.99,"quantity":5,"total":149.95,"discountPercentage":10.68,"discountedTotal":133.94,"thumbnail":"https://cdn.dummyjson.com/products/images/home-decoration/Family%20Tree%20Photo%20Frame/thumbnail.png"},{"id":67,"title":"Mug Tree Stand","price":15.99,"quantity":3,"total":47.97,"discountPercentage":16.65,"discountedTotal":39.98,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Mug%20Tree%20Stand/thumbnail.png"},{"id":16,"title":"Apple","price":1.99,"quantity":1,"total":1.99,"discountPercentage":11.74,"discountedTotal":1.76,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Apple/thumbnail.png"}],"total":586.82,"discountedTotal":500.25,"userId":94,"totalProducts":6,"totalQuantity":18},{"id":15,"products":[{"id":11,"title":"Annibale Colombo Bed","price":1899.99,"quantity":5,"total":9499.95,"discountPercentage":8.09,"discountedTotal":8731.4,"thumbnail":"https://cdn.dummyjson.com/products/images/furniture/Annibale%20Colombo%20Bed/thumbnail.png"},{"id":133,"title":"Samsung Galaxy S10","price":699.99,"quantity":3,"total":2099.9700000000003,"discountPercentage":1.12,"discountedTotal":2076.45,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Samsung%20Galaxy%20S10/thumbnail.png"},{"id":111,"title":"Selfie Stick Monopod","price":12.99,"quantity":3,"total":38.97,"discountPercentage":10.98,"discountedTotal":34.69,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Selfie%20Stick%20Monopod/thumbnail.png"},{"id":162,"title":"Blue Frock","price":29.99,"quantity":3,"total":89.97,"discountPercentage":3.86,"discountedTotal":86.5,"thumbnail":"https://cdn.dummyjson.com/products/images/tops/Blue%20Frock/thumbnail.png"},{"id":30,"title":"Kiwi","price":2.49,"quantity":5,"total":12.450000000000001,"discountPercentage":4.34,"discountedTotal":11.91,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Kiwi/thumbnail.png"}],"total":11741.31,"discountedTotal":10940.95,"userId":11,"totalProducts":5,"totalQuantity":19},{"id":16,"products":[{"id":19,"title":"Chicken Meat","price":9.99,"quantity":2,"total":19.98,"discountPercentage":13.37,"discountedTotal":17.31,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Chicken%20Meat/thumbnail.png"},{"id":152,"title":"Tennis Racket","price":49.99,"quantity":3,"total":149.97,"discountPercentage":9.13,"discountedTotal":136.28,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Tennis%20Racket/thumbnail.png"},{"id":35,"title":"Potatoes","price":2.29,"quantity":1,"total":2.29,"discountPercentage":1.69,"discountedTotal":2.25,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Potatoes/thumbnail.png"}],"total":172.24,"discountedTotal":155.84,"userId":200,"totalProducts":3,"totalQuantity":6},{"id":17,"products":[{"id":1,"title":"Essence Mascara Lash Princess","price":9.99,"quantity":2,"total":19.98,"discountPercentage":0.63,"discountedTotal":19.85,"thumbnail":"https://cdn.dummyjson.com/products/images/beauty/Essence%20Mascara%20Lash%20Princess/thumbnail.png"},{"id":60,"title":"Grater Black","price":10.99,"quantity":3,"total":32.97,"discountPercentage":16.62,"discountedTotal":27.49,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Grater%20Black/thumbnail.png"},{"id":74,"title":"Spoon","price":4.99,"quantity":4,"total":19.96,"discountPercentage":2.78,"discountedTotal":19.41,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Spoon/thumbnail.png"},{"id":44,"title":"Family Tree Photo Frame","price":29.99,"quantity":4,"total":119.96,"discountPercentage":10.68,"discountedTotal":107.15,"thumbnail":"https://cdn.dummyjson.com/products/images/home-decoration/Family%20Tree%20Photo%20Frame/thumbnail.png"}],"total":192.87,"discountedTotal":173.9,"userId":141,"totalProducts":4,"totalQuantity":13},{"id":18,"products":[{"id":127,"title":"Oppo K1","price":299.99,"quantity":4,"total":1199.96,"discountPercentage":15.93,"discountedTotal":1008.81,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Oppo%20K1/thumbnail.png"},{"id":24,"title":"Fish Steak","price":14.99,"quantity":3,"total":44.97,"discountPercentage":7.66,"discountedTotal":41.53,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Fish%20Steak/thumbnail.png"},{"id":20,"title":"Cooking Oil","price":4.99,"quantity":5,"total":24.950000000000003,"discountPercentage":12.62,"discountedTotal":21.8,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Cooking%20Oil/thumbnail.png"},{"id":154,"title":"Black Sun Glasses","price":29.99,"quantity":3,"total":89.97,"discountPercentage":1.11,"discountedTotal":88.97,"thumbnail":"https://cdn.dummyjson.com/products/images/sunglasses/Black%20Sun%20Glasses/thumbnail.png"},{"id":44,"title":"Family Tree Photo Frame","price":29.99,"quantity":2,"total":59.98,"discountPercentage":10.68,"discountedTotal":53.57,"thumbnail":"https://cdn.dummyjson.com/products/images/home-decoration/Family%20Tree%20Photo%20Frame/thumbnail.png"},{"id":5,"title":"Red Nail Polish","price":8.99,"quantity":5,"total":44.95,"discountPercentage":3.76,"discountedTotal":43.26,"thumbnail":"https://cdn.dummyjson.com/products/images/beauty/Red%20Nail%20Polish/thumbnail.png"}],"total":1464.78,"discountedTotal":1257.94,"userId":189,"totalProducts":6,"totalQuantity":22},{"id":19,"products":[{"id":187,"title":"Golden Shoes Woman","price":49.99,"quantity":3,"total":149.97,"discountPercentage":1.64,"discountedTotal":147.51,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-shoes/Golden%20Shoes%20Woman/thumbnail.png"},{"id":153,"title":"Volleyball","price":11.99,"quantity":5,"total":59.95,"discountPercentage":16.05,"discountedTotal":50.33,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Volleyball/thumbnail.png"},{"id":34,"title":"Nescafe Coffee","price":7.99,"quantity":3,"total":23.97,"discountPercentage":8.31,"discountedTotal":21.98,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Nescafe%20Coffee/thumbnail.png"},{"id":130,"title":"Realme XT","price":349.99,"quantity":2,"total":699.98,"discountPercentage":17.86,"discountedTotal":574.96,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Realme%20XT/thumbnail.png"}],"total":933.87,"discountedTotal":794.78,"userId":59,"totalProducts":4,"totalQuantity":13},{"id":20,"products":[{"id":107,"title":"Beats Flex Wireless Earphones","price":49.99,"quantity":1,"total":49.99,"discountPercentage":8.79,"discountedTotal":45.6,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Beats%20Flex%20Wireless%20Earphones/thumbnail.png"},{"id":193,"title":"Watch Gold for Women","price":799.99,"quantity":3,"total":2399.9700000000003,"discountPercentage":19.53,"discountedTotal":1931.26,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-watches/Watch%20Gold%20for%20Women/thumbnail.png"},{"id":100,"title":"Apple Airpods","price":129.99,"quantity":3,"total":389.97,"discountPercentage":12.84,"discountedTotal":339.9,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Apple%20Airpods/thumbnail.png"},{"id":90,"title":"Puma Future Rider Trainers","price":89.99,"quantity":5,"total":449.95,"discountPercentage":14.7,"discountedTotal":383.81,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-shoes/Puma%20Future%20Rider%20Trainers/thumbnail.png"},{"id":118,"title":"Attitude Super Leaves Hand Soap","price":8.99,"quantity":5,"total":44.95,"discountPercentage":7.23,"discountedTotal":41.7,"thumbnail":"https://cdn.dummyjson.com/products/images/skin-care/Attitude%20Super%20Leaves%20Hand%20Soap/thumbnail.png"},{"id":166,"title":"Tartan Dress","price":39.99,"quantity":5,"total":199.95000000000002,"discountPercentage":2.82,"discountedTotal":194.31,"thumbnail":"https://cdn.dummyjson.com/products/images/tops/Tartan%20Dress/thumbnail.png"}],"total":3534.78,"discountedTotal":2936.58,"userId":90,"totalProducts":6,"totalQuantity":22},{"id":21,"products":[{"id":77,"title":"Yellow Peeler","price":5.99,"quantity":2,"total":11.98,"discountPercentage":13.16,"discountedTotal":10.4,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Yellow%20Peeler/thumbnail.png"},{"id":91,"title":"Sports Sneakers Off White & Red","price":119.99,"quantity":2,"total":239.98,"discountPercentage":1.96,"discountedTotal":235.28,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-shoes/Sports%20Sneakers%20Off%20White%20&%20Red/thumbnail.png"}],"total":251.96,"discountedTotal":245.68,"userId":42,"totalProducts":2,"totalQuantity":4},{"id":22,"products":[{"id":73,"title":"Spice Rack","price":19.99,"quantity":5,"total":99.94999999999999,"discountPercentage":8.74,"discountedTotal":91.21,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Spice%20Rack/thumbnail.png"},{"id":2,"title":"Eyeshadow Palette with Mirror","price":19.99,"quantity":2,"total":39.98,"discountPercentage":0.7,"discountedTotal":39.7,"thumbnail":"https://cdn.dummyjson.com/products/images/beauty/Eyeshadow%20Palette%20with%20Mirror/thumbnail.png"},{"id":69,"title":"Plate","price":3.99,"quantity":2,"total":7.98,"discountPercentage":16,"discountedTotal":6.7,"thumbnail":"https://cdn.dummyjson.com/products/images/kitchen-accessories/Plate/thumbnail.png"},{"id":155,"title":"Classic Sun Glasses","price":24.99,"quantity":3,"total":74.97,"discountPercentage":9.27,"discountedTotal":68.02,"thumbnail":"https://cdn.dummyjson.com/products/images/sunglasses/Classic%20Sun%20Glasses/thumbnail.png"}],"total":222.88,"discountedTotal":205.63,"userId":140,"totalProducts":4,"totalQuantity":12},{"id":23,"products":[{"id":82,"title":"New DELL XPS 13 9300 Laptop","price":1499.99,"quantity":5,"total":7499.95,"discountPercentage":3.9,"discountedTotal":7207.45,"thumbnail":"https://cdn.dummyjson.com/products/images/laptops/New%20DELL%20XPS%2013%209300%20Laptop/thumbnail.png"},{"id":172,"title":"Blue Women's Handbag","price":49.99,"quantity":4,"total":199.96,"discountPercentage":8.08,"discountedTotal":183.8,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-bags/Blue%20Women's%20Handbag/thumbnail.png"},{"id":41,"title":"Tissue Paper Box","price":2.49,"quantity":2,"total":4.98,"discountPercentage":2.74,"discountedTotal":4.84,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Tissue%20Paper%20Box/thumbnail.png"},{"id":37,"title":"Red Onions","price":1.99,"quantity":4,"total":7.96,"discountPercentage":8.95,"discountedTotal":7.25,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Red%20Onions/thumbnail.png"},{"id":138,"title":"Baseball Ball","price":8.99,"quantity":5,"total":44.95,"discountPercentage":18.49,"discountedTotal":36.64,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Baseball%20Ball/thumbnail.png"}],"total":7757.8,"discountedTotal":7439.98,"userId":147,"totalProducts":5,"totalQuantity":20},{"id":24,"products":[{"id":108,"title":"iPhone 12 Silicone Case with MagSafe Plum","price":29.99,"quantity":5,"total":149.95,"discountPercentage":14.68,"discountedTotal":127.94,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/iPhone%2012%20Silicone%20Case%20with%20MagSafe%20Plum/thumbnail.png"},{"id":134,"title":"Vivo S1","price":249.99,"quantity":4,"total":999.96,"discountPercentage":5.64,"discountedTotal":943.56,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Vivo%20S1/thumbnail.png"},{"id":174,"title":"Prada Women Bag","price":599.99,"quantity":1,"total":599.99,"discountPercentage":12.86,"discountedTotal":522.83,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-bags/Prada%20Women%20Bag/thumbnail.png"}],"total":1749.9,"discountedTotal":1594.33,"userId":6,"totalProducts":3,"totalQuantity":10},{"id":25,"products":[{"id":4,"title":"Red Lipstick","price":12.99,"quantity":1,"total":12.99,"discountPercentage":14.69,"discountedTotal":11.08,"thumbnail":"https://cdn.dummyjson.com/products/images/beauty/Red%20Lipstick/thumbnail.png"},{"id":126,"title":"Oppo F19 Pro+","price":399.99,"quantity":1,"total":399.99,"discountPercentage":14.38,"discountedTotal":342.47,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Oppo%20F19%20Pro+/thumbnail.png"}],"total":412.98,"discountedTotal":353.55,"userId":118,"totalProducts":2,"totalQuantity":2},{"id":26,"products":[{"id":37,"title":"Red Onions","price":1.99,"quantity":5,"total":9.95,"discountPercentage":8.95,"discountedTotal":9.06,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Red%20Onions/thumbnail.png"},{"id":128,"title":"Realme C35","price":149.99,"quantity":3,"total":449.97,"discountPercentage":3.97,"discountedTotal":432.11,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Realme%20C35/thumbnail.png"}],"total":459.92,"discountedTotal":441.17,"userId":66,"totalProducts":2,"totalQuantity":8},{"id":27,"products":[{"id":33,"title":"Mulberry","price":4.99,"quantity":1,"total":4.99,"discountPercentage":2.75,"discountedTotal":4.85,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Mulberry/thumbnail.png"},{"id":110,"title":"Selfie Lamp with iPhone","price":14.99,"quantity":2,"total":29.98,"discountPercentage":19.87,"discountedTotal":24.02,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Selfie%20Lamp%20with%20iPhone/thumbnail.png"},{"id":16,"title":"Apple","price":1.99,"quantity":3,"total":5.97,"discountPercentage":11.74,"discountedTotal":5.27,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Apple/thumbnail.png"},{"id":83,"title":"Blue & Black Check Shirt","price":29.99,"quantity":5,"total":149.95,"discountPercentage":8.76,"discountedTotal":136.81,"thumbnail":"https://cdn.dummyjson.com/products/images/mens-shirts/Blue%20&%20Black%20Check%20Shirt/thumbnail.png"}],"total":190.89,"discountedTotal":170.95,"userId":75,"totalProducts":4,"totalQuantity":11},{"id":28,"products":[{"id":1,"title":"Essence Mascara Lash Princess","price":9.99,"quantity":5,"total":49.95,"discountPercentage":0.63,"discountedTotal":49.64,"thumbnail":"https://cdn.dummyjson.com/products/images/beauty/Essence%20Mascara%20Lash%20Princess/thumbnail.png"},{"id":141,"title":"Basketball Rim","price":39.99,"quantity":4,"total":159.96,"discountPercentage":14.7,"discountedTotal":136.45,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Basketball%20Rim/thumbnail.png"}],"total":209.91,"discountedTotal":186.09,"userId":147,"totalProducts":2,"totalQuantity":9},{"id":29,"products":[{"id":80,"title":"Huawei Matebook X Pro","price":1399.99,"quantity":2,"total":2799.98,"discountPercentage":9.99,"discountedTotal":2520.26,"thumbnail":"https://cdn.dummyjson.com/products/images/laptops/Huawei%20Matebook%20X%20Pro/thumbnail.png"},{"id":107,"title":"Beats Flex Wireless Earphones","price":49.99,"quantity":4,"total":199.96,"discountPercentage":8.79,"discountedTotal":182.38,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Beats%20Flex%20Wireless%20Earphones/thumbnail.png"},{"id":25,"title":"Green Bell Pepper","price":1.29,"quantity":2,"total":2.58,"discountPercentage":1.2,"discountedTotal":2.55,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Green%20Bell%20Pepper/thumbnail.png"},{"id":121,"title":"iPhone 5s","price":199.99,"quantity":4,"total":799.96,"discountPercentage":8.38,"discountedTotal":732.92,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/iPhone%205s/thumbnail.png"},{"id":153,"title":"Volleyball","price":11.99,"quantity":5,"total":59.95,"discountPercentage":16.05,"discountedTotal":50.33,"thumbnail":"https://cdn.dummyjson.com/products/images/sports-accessories/Volleyball/thumbnail.png"}],"total":3862.43,"discountedTotal":3488.44,"userId":170,"totalProducts":5,"totalQuantity":17},{"id":30,"products":[{"id":181,"title":"Marni Red & Black Suit","price":179.99,"quantity":1,"total":179.99,"discountPercentage":14.21,"discountedTotal":154.41,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-dresses/Marni%20Red%20&%20Black%20Suit/thumbnail.png"},{"id":171,"title":"Pacifica Touring","price":31999.99,"quantity":4,"total":127999.96,"discountPercentage":7.4,"discountedTotal":118527.96,"thumbnail":"https://cdn.dummyjson.com/products/images/vehicle/Pacifica%20Touring/thumbnail.png"},{"id":35,"title":"Potatoes","price":2.29,"quantity":4,"total":9.16,"discountPercentage":1.69,"discountedTotal":9.01,"thumbnail":"https://cdn.dummyjson.com/products/images/groceries/Potatoes/thumbnail.png"},{"id":46,"title":"Plant Pot","price":14.99,"quantity":4,"total":59.96,"discountPercentage":17.65,"discountedTotal":49.38,"thumbnail":"https://cdn.dummyjson.com/products/images/home-decoration/Plant%20Pot/thumbnail.png"}],"total":128249.07,"discountedTotal":118740.76,"userId":177,"totalProducts":4,"totalQuantity":13}],"total":50,"skip":0,"limit":30}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000 ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body contains cart array | 1 | 0 | 0 |
| cart list is not empty | 1 | 0 | 0 |
| each cart contains required fields | 1 | 0 | 0 |
| each cart contains fields with correct data types | 1 | 0 | 0 |
| each cart product array is not empty | 1 | 0 | 0 |
| cart products contain required fields | 1 | 0 | 0 |
| response body contains pagination fields | 1 | 0 | 0 |
| carts count does not exceed limit | 1 | 0 | 0 |
| Total | 11 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Cart-By ID
## Overview
This endpoint retrieves a specific shopping cart by its unique ID from the DummyJSON API. It provides detailed information about a single cart including all products, pricing, discounts, and user association.
## Purpose
The primary purpose of this request is to fetch a specific cart's complete details. This is useful for:
- Viewing detailed information about a specific cart
- Retrieving cart data for a particular user session
- Testing cart retrieval by ID functionality
- Validating individual cart data structure and integrity
## Expected Behaviour
When this request is executed successfully with a valid cart ID, it returns a JSON response containing the complete cart object with all associated products, totals, and user information.
## Request Details
**HTTP Method:** `GET`
**Endpoint URL:** `https://dummyjson.com/carts/1`
**Headers:** None required
**Query Parameters:** None
**Path Variables:**
- `cart_id` - The unique identifier of the cart to retrieve
**Authentication:** None required for this endpoint
## Variables Used
| Variable | Description | Example Value |
| --- | --- | --- |
| `baseUrl` | The base URL for the DummyJSON API | `https://dummyjson.com` |
| `cart_id` | The unique identifier of the cart to retrieve | `1` |
Both variables are defined in the active environment. The `cart_id` variable should be set to the ID of the cart you want to retrieve.
## Response Details
The response returns a JSON object with the following structure:
``` json
{
"id": number,
"products": [
{
"id": number,
"title": string,
"price": number,
"quantity": number,
"total": number,
"discountPercentage": number,
"discountedPrice": number
}
],
"total": number,
"discountedTotal": number,
"userId": number,
"totalProducts": number,
"totalQuantity": number
}
```
**Response Fields:**
- `id` (number): Unique identifier for the cart
- `products` (array): Array of product objects in the cart
- `id` (number): Product ID
- `title` (string): Product name
- `price` (number): Product price
- `quantity` (number): Quantity of this product in cart
- `total` (number): Total price before discounts
- `discountedTotal` (number): Total price after applying discounts
- `userId` (number): ID of the user who owns the cart
- `totalProducts` (number): Total number of unique products in the cart
- `totalQuantity` (number): Total quantity of all products in the cart
## Test Validations
This request includes comprehensive automated test validations to ensure the API response meets expected standards. All tests are executed automatically after receiving the response.
### 1\. Status Code Validation
**Test:** Status code is 200
**Validates:** The API successfully processes the request and returns an HTTP 200 OK status code, indicating successful retrieval of the specific cart data.
### 2\. Response Time Performance
**Test:** Response time is less than 2000ms
**Validates:** The API responds within acceptable performance thresholds (under 2 seconds), ensuring good user experience and system responsiveness.
### 3\. Content-Type Header Validation
**Test:** Response Content-type is application/json
**Validates:** The response is returned in JSON format as expected, with the correct Content-Type header set to application/json.
### 4\. Response Body Structure
**Test:** response body is json object
**Validates:** The response body is a valid JSON object, confirming the correct response structure and format.
### 5\. Cart Object Required Fields
**Test:** response body contains required fields
**Validates:** The cart object contains all mandatory fields: `id`, `products`, `total`, `discountedTotal`, `userId`, `totalProducts`, and `totalQuantity`.
### 6\. Cart Object Data Type Validation
**Test:** response body contains required fields with correct data type
**Validates:** All cart fields have the correct data types - `id`, `total`, `discountedTotal`, `userId`, `totalProducts`, and `totalQuantity` are numbers, and `products` is an array.
### 7\. Product Object Required Fields
**Test:** each product in the cart contains required fields
**Validates:** Each product within the cart contains all necessary fields including `id`, `title`, `price`, and `quantity`, ensuring complete product information.
### 8\. Cart ID Match Validation
**Test:** returned cart id matches requested cart id
**Validates:** The cart ID in the response matches the cart ID that was requested in the URL path variable, confirming that the correct cart was retrieved.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e1000258-5e3a-4298-a157-cd5ef2477c66 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:10 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 96 |
| x-ratelimit-reset | 1769721617 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"461-cWRWYNLFxfrc4fzJ3x6dAiWgKps" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=iht0dCoEyxKoZGaxGPTZcJk3yPJRQ4cDBelrs%2FK%2F01e3KWPqChIXrHCO%2FaU7jn2jpX4nYZYMDW4TQi%2BTZabwqA81WkeCFT3jhIm%2Bcw%2FqStCCaWHOGec7J8k%3D"}]} |
| CF-RAY | 9c5bc59fde3c0c5b-AMM |
{"id":1,"products":[{"id":168,"title":"Charger SXT RWD","price":32999.99,"quantity":3,"total":98999.97,"discountPercentage":13.39,"discountedTotal":85743.87,"thumbnail":"https://cdn.dummyjson.com/products/images/vehicle/Charger%20SXT%20RWD/thumbnail.png"},{"id":78,"title":"Apple MacBook Pro 14 Inch Space Grey","price":1999.99,"quantity":2,"total":3999.98,"discountPercentage":18.52,"discountedTotal":3259.18,"thumbnail":"https://cdn.dummyjson.com/products/images/laptops/Apple%20MacBook%20Pro%2014%20Inch%20Space%20Grey/thumbnail.png"},{"id":183,"title":"Green Oval Earring","price":24.99,"quantity":5,"total":124.94999999999999,"discountPercentage":6.28,"discountedTotal":117.1,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-jewellery/Green%20Oval%20Earring/thumbnail.png"},{"id":100,"title":"Apple Airpods","price":129.99,"quantity":5,"total":649.95,"discountPercentage":12.84,"discountedTotal":566.5,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Apple%20Airpods/thumbnail.png"}],"total":103774.85,"discountedTotal":89686.65,"userId":33,"totalProducts":4,"totalQuantity":15}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body contains required fields | 1 | 0 | 0 |
| response body contains required fields with correct data type | 1 | 0 | 0 |
| each product in the cart contains required fields | 1 | 0 | 0 |
| returned cart id matches requested cart id | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Carts-By User ID
## Overview
This endpoint retrieves all shopping carts associated with a specific user from the DummyJSON API. It returns a comprehensive list of carts including product details, pricing information, and cart totals.
## Purpose
To fetch and validate all cart data for a given user ID, ensuring data integrity and proper API response structure. This endpoint is essential for user cart management and order processing workflows.
## Expected Behaviour
When a valid user ID is provided, the API returns all carts belonging to that user with complete cart and product information. The response includes cart totals, discounts, and detailed product information for each item in the carts.
## Request Details
**HTTP Method:** `GET`
**URL:** `https://dummyjson.com/carts/user/6`
**Headers:** None specified
**Query Parameters:** None
**Path Variables:**
- `user_id` - The unique identifier of the user whose carts are being retrieved
**Authentication:** None specified
## Variables Used
- **`baseUrl`** - The base URL for the DummyJSON API endpoint (e.g., https://dummyjson.com)
- **`user_id`** - The unique identifier of the user whose cart information is being requested
## Response Details
The API returns a JSON object with the following structure:
**Response Object:**
- `carts` (array) - Array containing all carts for the specified user
**Each Cart Object Contains:**
- `id` - Unique cart identifier
- `products` - Array of products in the cart
- `total` - Total cart value before discounts
- `discountedTotal` - Total cart value after discounts
- `userId` - User ID associated with the cart
- `totalProducts` - Total number of unique products
- `totalQuantity` - Total quantity of all items
**Each Product Object Contains:**
- `id` - Product identifier
- `quantity` - Quantity of the product in cart
- `price` - Price of the product
## Test Validations
This request includes 7 comprehensive test assertions to ensure API reliability and data integrity:
1. **Status Code Validation** - Verifies the response status code is 200 (OK)
2. **Response Time Performance** - Ensures the response time is less than 2000ms for optimal performance
3. **Content-Type Validation** - Confirms the response Content-Type header is "application/json"
4. **Response Structure Validation** - Verifies the response body contains the "carts" property as an array
5. **User ID Matching** - Validates that all returned carts belong to the requested user ID
6. **Cart Fields Validation** - Ensures each cart contains all required fields: id, products, total, discountedTotal, userId, totalProducts, and totalQuantity
7. **Product Fields Validation** - Confirms each product within the carts contains the required fields: id, quantity, and price
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 664d19f4-3eb8-421c-8e39-1a305d233a4b |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:10 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 97 |
| x-ratelimit-reset | 1769721617 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"385-ITR3LUmAAhlOUYo0SP5jQkppvNY" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=7Vz6sXxyn7kzHZXy3nfEvPk2vrDUcbkusaNDMd7y9mCBOwVDZ4qscWVI2yC0n7nQ9glGJB5zUIZ1S%2FE6V7f84hihFwIA53zu5ZRCir%2BpzUu7SjWn6AGaRiI%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc5a17a830c5b-AMM |
{"carts":[{"id":24,"products":[{"id":108,"title":"iPhone 12 Silicone Case with MagSafe Plum","price":29.99,"quantity":5,"total":149.95,"discountPercentage":14.68,"discountedTotal":127.94,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/iPhone%2012%20Silicone%20Case%20with%20MagSafe%20Plum/thumbnail.png"},{"id":134,"title":"Vivo S1","price":249.99,"quantity":4,"total":999.96,"discountPercentage":5.64,"discountedTotal":943.56,"thumbnail":"https://cdn.dummyjson.com/products/images/smartphones/Vivo%20S1/thumbnail.png"},{"id":174,"title":"Prada Women Bag","price":599.99,"quantity":1,"total":599.99,"discountPercentage":12.86,"discountedTotal":522.83,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-bags/Prada%20Women%20Bag/thumbnail.png"}],"total":1749.9,"discountedTotal":1594.33,"userId":6,"totalProducts":3,"totalQuantity":10}],"total":1,"skip":0,"limit":1}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body conatins cart array | 1 | 0 | 0 |
| returned carts belong to the requested user id | 1 | 0 | 0 |
| each cart contains required fields | 1 | 0 | 0 |
| cart products contain required fields | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Data Driven Add New Cart (Happy+ Negative)
## Overview
This is a data-driven test request that validates the cart creation functionality of the DummyJSON API. It supports both positive (happy path) and negative test scenarios by accepting expected status codes from a CSV data file, allowing comprehensive testing of the "Add New Cart" endpoint with various input combinations.
## Expected Behaviour
When executed as part of a collection run with a CSV data file:
- **Happy Path (201)**: Successfully creates a new cart with the provided user ID and products, returning complete cart details including calculated totals and discounts
- **Negative Scenarios (4xx)**: Returns appropriate error responses when invalid data is provided (e.g., empty user ID, invalid products)
The request validates the response against the expected status code from the CSV file and performs comprehensive assertions on successful responses.
## Request Details
**Method:** `POST`
**URL:** `https://dummyjson.com/carts/add`
**Headers:**
- Content-Type: application/json (automatically set for raw JSON body)
**Body Structure (raw JSON):**
``` json
{
"userId": 12,
"products": []
}
```
The body uses variables that should be populated from a CSV data file during collection runs, allowing different test scenarios to be executed with varying user IDs and product configurations.
## Variables Used
| Variable | Description | Example Value |
| --- | --- | --- |
| `https://dummyjson.com` | Base URL of the DummyJSON API | `https://dummyjson.com` |
| `12` | The ID of the user creating the cart | `1` |
| `[]` | Array of product objects with id and quantity | `[{"id": 1, "quantity": 2}]` |
**Note:** The CSV data file should also include an `expected_status_add_cart` column to specify the expected HTTP status code for each test scenario.
## Response Details
### Successful Response (Status 201)
**Response Structure:**
``` json
{
"id": number,
"products": array,
"total": number,
"discountedTotal": number,
"userId": number,
"totalProducts": number,
"totalQuantity": number
}
```
**Field Descriptions:**
| Field | Type | Description |
| --- | --- | --- |
| `id` | number | Unique identifier for the created cart |
| `products` | array | Array of product objects added to the cart |
| `total` | number | Total price before discounts |
| `discountedTotal` | number | Total price after applying discounts |
| `userId` | number | ID of the user who owns the cart |
| `totalProducts` | number | Total number of distinct products in the cart |
| `totalQuantity` | number | Total quantity of all products combined |
### Error Response (Status 4xx)
Error responses will vary based on the validation failure but typically include error messages describing what went wrong.
## Test Validations
This request includes comprehensive test validations in the post-response script:
### 1\. **Status Code Validation**
- Validates that the response status code matches the expected value from the CSV data file
- Test: `"Status code matches expected value from CSV"`
### For Successful Responses (Status 201):
### 2\. **Performance Validation**
- Ensures the API responds within acceptable time limits
- Test: `"Response time is less than 2000ms"`
- Assertion: Response time must be below 2000 milliseconds
### 3\. **Content-Type Validation**
- Verifies the response returns JSON format
- Test: `"response Content-Type is application/json"`
- Assertion: Content-Type header includes "application/json"
### 4\. **Response Structure Validation**
- Confirms the response contains all required fields
- Test: `"Response body has the correct structure"`
- Assertion: Response must have keys: `id`, `products`, `total`, `discountedTotal`, `userId`, `totalProducts`, `totalQuantity`
### 5\. **Data Type Validation**
- Validates that each field has the correct data type
- Test: `"Response body fields have the correct data types"`
- Assertions:
- `id` must be a number
- `products` must be an array
- `total` must be a number
- `discountedTotal` must be a number
- `userId` must be a number
- `totalProducts` must be a number
- `totalQuantity` must be a number
### 6\. **Product Array Validation**
- Ensures the products array is not empty
- Test: `"Product array is not empty"`
- Assertion: Products array length must be greater than 0
### 7\. **User ID Validation**
- Verifies the returned cart belongs to the correct user
- Test: `"The returned cart belong to the same requested user id"`
- Assertion: Response `userId` matches the requested `userId` from the request body
---
**Usage Note:** This request is designed to be run with a CSV data file containing multiple test scenarios. Each row in the CSV should include `userId`, `products`, and `expected_status_add_cart` values to enable data-driven testing of both successful and error scenarios.
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | e9d58c9f-aeb0-4a00-9957-92c4c8d9517f |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 43 |
{
"userId": 12,
"products": []
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:10 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 39 |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 99 |
| x-ratelimit-reset | 1769721621 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"27-/f9Vau6RpiaDqKlm5QsRfakggIE" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=Om71rKqlGbdueIrJoxYZjDJfAbre%2FHcPNqigWykn%2Flzl2BDhbl5kPh6fndJ9HCv6KebSuHrns%2F8lZfCiyIjFZRp8fC815nVWW%2FHUQrquRqBNQ6vI59odDZQ%3D"}]} |
| CF-RAY | 9c5bc5a3585e0c5b-AMM |
{"message":"products can not be empty"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code matches expected value from CSV | 1 | 0 | 0 |
| Response body contains error message | 1 | 0 | 0 |
| Error message is correct for empty products field | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Delete Cart
## Overview
This endpoint deletes a specific cart from the system using the cart ID. It permanently removes the cart and returns confirmation of the deletion.
## Expected Behaviour
When this request is executed successfully:
- The specified cart is permanently deleted from the system
- A confirmation response is returned with deletion status
- The response includes a timestamp of when the deletion occurred
- The `isDeleted` flag is set to `true` in the response
## Request Details
**Method:** `DELETE`
**URL:** `https://dummyjson.com/carts/1`
**Headers:** None specified
**Body:** This DELETE request does not require a request body.
## Variables Used
This request uses the following variables:
- **`baseUrl`** - The base URL of the API endpoint
- **`cart_id`** - The unique identifier of the cart to be deleted
## Response Details
The API returns a JSON object with the following structure:
**Expected Response Structure:**
```json
{
"isDeleted": boolean,
"deletedOn": string
}
```
**Response Fields:**
- **`isDeleted`** (boolean) - Indicates whether the cart was successfully deleted. Should be `true` for successful deletion.
- **`deletedOn`** (string) - Timestamp indicating when the cart was deleted.
## Test Validations
This request includes the following automated test assertions:
1. **Status Code Validation** - Verifies that the response status code is 200 (OK)
2. **Response Time Validation** - Ensures the response time is less than 2000ms for performance monitoring
3. **Content-Type Validation** - Confirms the response Content-Type header is `application/json`
4. **Response Structure Validation** - Verifies that the response body is a valid JSON object
5. **isDeleted Property Validation** - Checks that the response contains an `isDeleted` property with boolean data type
6. **deletedOn Property Validation** - Checks that the response contains a `deletedOn` property with string data type
7. **Deletion Confirmation** - Validates that the `isDeleted` field is `true`, confirming successful cart deletion
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | b74134c5-67de-4b92-bb9d-61250e59fc4f |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:11 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 95 |
| x-ratelimit-reset | 1769721617 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"499-ZUW9tCNFQ/UD/lWzUSNlNtmhrvg" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=cDTZLfGPoKGvAkLaOR1vdzwMRGgC7%2FBC%2BFdc4LCPlLpUmB2RGlG6po%2BGUYfx%2FDSs8ofxNj5zRxQO%2BsHfsKZdDCFEKhMVJG6pWkfMby8tcWbHIUBhaNZML8w%3D"}]} |
| CF-RAY | 9c5bc5a4dcc30c5b-AMM |
{"id":1,"products":[{"id":168,"title":"Charger SXT RWD","price":32999.99,"quantity":3,"total":98999.97,"discountPercentage":13.39,"discountedTotal":85743.87,"thumbnail":"https://cdn.dummyjson.com/products/images/vehicle/Charger%20SXT%20RWD/thumbnail.png"},{"id":78,"title":"Apple MacBook Pro 14 Inch Space Grey","price":1999.99,"quantity":2,"total":3999.98,"discountPercentage":18.52,"discountedTotal":3259.18,"thumbnail":"https://cdn.dummyjson.com/products/images/laptops/Apple%20MacBook%20Pro%2014%20Inch%20Space%20Grey/thumbnail.png"},{"id":183,"title":"Green Oval Earring","price":24.99,"quantity":5,"total":124.94999999999999,"discountPercentage":6.28,"discountedTotal":117.1,"thumbnail":"https://cdn.dummyjson.com/products/images/womens-jewellery/Green%20Oval%20Earring/thumbnail.png"},{"id":100,"title":"Apple Airpods","price":129.99,"quantity":5,"total":649.95,"discountPercentage":12.84,"discountedTotal":566.5,"thumbnail":"https://cdn.dummyjson.com/products/images/mobile-accessories/Apple%20Airpods/thumbnail.png"}],"total":103774.85,"discountedTotal":89686.65,"userId":33,"totalProducts":4,"totalQuantity":15,"isDeleted":true,"deletedOn":"2026-01-29T21:20:11.085Z"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body has is deleted property with correct data type | 1 | 0 | 0 |
| response body has deleted on property with correct data type | 1 | 0 | 0 |
| cart is deleted | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Get Cart with Invalid ID
## Overview
This is a **negative test case** designed to verify that the API correctly handles requests for non-existent cart resources. It tests the error handling behavior when attempting to retrieve a cart using an invalid or non-existent cart ID.
## Expected Behaviour
When this request is executed with an invalid cart ID, the API should:
- Return a **404 Not Found** HTTP status code
- Provide a JSON response containing an error message
- Include a descriptive message indicating that the requested cart was not found
This validates that the API properly handles invalid resource requests and returns appropriate error responses to clients.
## Request Details
**Method:** `GET`
**URL:** `https://dummyjson.com/carts/99999999`
**Headers:** Standard headers (no custom headers required for this request)
**Body:** No request body (GET request)
## Variables Used
This request uses the following variables:
- **`baseUrl`** - The base URL of the API endpoint (e.g., `https://dummyjson.com`)
- **`invalid_id`** - An invalid or non-existent cart ID used to trigger the error response (e.g., `99999`, `invalid`, or any ID that doesn't exist in the system)
These variables should be defined in your environment to ensure the request executes correctly.
## Response Details
**Expected Status Code:** `404 Not Found`
**Response Structure:**
```json
{
"message": "Cart with id '99999999' not found"
}
```
**Response Fields:**
- **`message`** (string) - An error message describing why the request failed. The message should contain text indicating that the cart was "not found".
## Test Validations
This request includes automated test assertions in the post-response script to validate the error handling:
1. **Status Code Validation**
- Verifies that the response status code is `404`
- Ensures the API returns the correct HTTP status for non-existent resources
2. **Error Message Presence**
- Checks that the response body contains a `message` property
- Validates that the API provides error details in the response
3. **Error Message Content**
- Confirms that the error message includes the text "not found" (case-insensitive)
- Ensures the error message is descriptive and meaningful for debugging
All three test validations must pass for this negative test case to be considered successful.
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 75b57e09-975c-4b5c-9280-369c3a63292f |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:11 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 96 |
| x-ratelimit-reset | 1769721617 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"2f-05qhlTLrFNSg7wWDyWTbJENRvKY" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=lgZG8QNVMqrYZPG5mgBZfV9Ev0ypqSVmpe839WmfTLKEv3eB%2FPYoUQn%2FpUk6uY5FWRslVWN9ik7Uyey%2BAOZ6RgddCPgY2gFqJ6FMvdiXy4HkyU%2FdJw1vYE4%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc5a6ca300c5b-AMM |
{"message":"Cart with id '99999999' not found"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| response body contains error message | 1 | 0 | 0 |
| response body contains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get Users-List
## Overview
This request retrieves a paginated list of all users from the DummyJSON API. It returns user information including personal details and account data in a structured JSON format.
## Purpose
This endpoint exists to provide access to the complete user database for testing purposes. It solves the problem of needing to retrieve multiple user records at once, supporting scenarios like:
- Displaying user lists in applications
- Testing pagination functionality
- Validating user data structures
- Performing bulk user operations
- Testing search and filter capabilities
## Expected Behaviour
When executed successfully, this request should:
- Return a 200 OK status code
- Respond within 2000 milliseconds
- Provide a JSON response with a users array containing user objects
- Include pagination metadata (total, skip, limit)
- Return properly structured user objects with all required fields
## Request Details
**Method:** `GET`
**URL:** `https://dummyjson.com/users`
**Headers:** None specified (default headers apply)
**Body:** No request body (GET request)
## Variables Used
- `baseUrl` - The base URL for the DummyJSON API endpoint (defined in the active environment)
## Response Details
The response returns a JSON object with the following structure:
**Root Level Fields:**
- `users` (array) - Array of user objects
- `total` (number) - Total number of users available
- `skip` (number) - Number of users skipped (for pagination)
- `limit` (number) - Maximum number of users returned per request
**User Object Structure:**
Each user object in the `users` array contains:
- `id` (number) - Unique identifier for the user
- `firstName` (string) - User's first name
- `lastName` (string) - User's last name
- `email` (string) - User's email address
- `username` (string) - User's username
**Example Response:**
```json
{
"users": [
{
"id": 1,
"firstName": "John",
"lastName": "Doe",
"email": "john.doe@example.com",
"username": "johndoe"
}
],
"total": 100,
"skip": 0,
"limit": 30
}
```
## Test Validations
This request includes comprehensive automated test validations to ensure API reliability and data integrity:
1. **Status Code Validation**
- Verifies the response status code is 200 (OK)
2. **Performance Validation**
- Ensures response time is less than 2000 milliseconds
3. **Content-Type Validation**
- Confirms the response Content-Type header includes "application/json"
4. **Response Structure Validation**
- Verifies the response body contains a "users" property
- Confirms "users" is an array data type
5. **Data Presence Validation**
- Ensures the users array is not empty (contains at least one user)
6. **Required Fields Validation**
- Checks that each user object contains all required fields: id, firstName, lastName, email, username
7. **Data Type Validation**
- Validates that each user's fields have correct data types:
- `id` must be a number
- `firstName` must be a string
- `lastName` must be a string
- `email` must be a string
- `username` must be a string
8. **Pagination Fields Validation**
- Confirms the response includes pagination metadata: total, skip, limit
9. **Pagination Logic Validation**
- Verifies that the number of users returned does not exceed the specified limit
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | c99cacc4-5535-4ece-a751-be407e6c348b |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:11 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 95 |
| x-ratelimit-reset | 1769530921 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"a3b1-Wc+qCYPJ2IxKpnt00AlusGYMzCE" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| Age | 190692 |
| Cache-Control | no-store |
| cf-cache-status | HIT |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=cLq7pF5%2Blfp0gVilWddHiwzvCLPYNveVpLGvLB1DU96ezS0aD2VrwQTlA7TL5hSOTeRMfMRWQAIADCB14o8TwEZdKpj61cTlLA3Cc0KDnOEDZzASEKs3SdI%3D"}]} |
| CF-RAY | 9c5bc5a8e8270c5b-AMM |
{"users":[{"id":1,"firstName":"Emily","lastName":"Johnson","maidenName":"Smith","age":29,"gender":"female","email":"emily.johnson@x.dummyjson.com","phone":"+81 965-431-3024","username":"emilys","password":"emilyspass","birthDate":"1996-5-30","image":"https://dummyjson.com/icon/emilys/128","bloodGroup":"O-","height":193.24,"weight":63.16,"eyeColor":"Green","hair":{"color":"Brown","type":"Curly"},"ip":"42.48.100.32","address":{"address":"626 Main Street","city":"Phoenix","state":"Mississippi","stateCode":"MS","postalCode":"29112","coordinates":{"lat":-77.16213,"lng":-92.084824},"country":"United States"},"macAddress":"47:fa:41:18:ec:eb","university":"University of Wisconsin--Madison","bank":{"cardExpire":"05/28","cardNumber":"3693233511855044","cardType":"Diners Club International","currency":"GBP","iban":"GB74MH2UZLR9TRPHYNU8F8"},"company":{"department":"Engineering","name":"Dooley, Kozey and Cronin","title":"Sales Manager","address":{"address":"263 Tenth Street","city":"San Francisco","state":"Wisconsin","stateCode":"WI","postalCode":"37657","coordinates":{"lat":71.814525,"lng":-161.150263},"country":"United States"}},"ein":"977-175","ssn":"900-590-289","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"},{"id":2,"firstName":"Michael","lastName":"Williams","maidenName":"","age":36,"gender":"male","email":"michael.williams@x.dummyjson.com","phone":"+49 258-627-6644","username":"michaelw","password":"michaelwpass","birthDate":"1989-8-10","image":"https://dummyjson.com/icon/michaelw/128","bloodGroup":"B+","height":186.22,"weight":76.32,"eyeColor":"Red","hair":{"color":"Green","type":"Straight"},"ip":"12.13.116.142","address":{"address":"385 Fifth Street","city":"Houston","state":"Alabama","stateCode":"AL","postalCode":"38807","coordinates":{"lat":22.815468,"lng":115.608581},"country":"United States"},"macAddress":"79:15:78:99:60:aa","university":"Ohio State University","bank":{"cardExpire":"01/30","cardNumber":"3530633803003665","cardType":"JCB","currency":"USD","iban":"DE26362283149158045865"},"company":{"department":"Support","name":"Spinka - Dickinson","title":"Support Specialist","address":{"address":"395 Main Street","city":"Los Angeles","state":"New Hampshire","stateCode":"NH","postalCode":"73442","coordinates":{"lat":79.098326,"lng":-119.624845},"country":"United States"}},"ein":"912-602","ssn":"108-953-962","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Edge/97.0.1072.76 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"},{"id":3,"firstName":"Sophia","lastName":"Brown","maidenName":"","age":43,"gender":"female","email":"sophia.brown@x.dummyjson.com","phone":"+81 210-652-2785","username":"sophiab","password":"sophiabpass","birthDate":"1982-11-6","image":"https://dummyjson.com/icon/sophiab/128","bloodGroup":"O-","height":177.72,"weight":52.6,"eyeColor":"Hazel","hair":{"color":"White","type":"Wavy"},"ip":"214.225.51.195","address":{"address":"1642 Ninth Street","city":"Washington","state":"Alabama","stateCode":"AL","postalCode":"32822","coordinates":{"lat":45.289366,"lng":46.832664},"country":"United States"},"macAddress":"12:a3:d3:6f:5c:5b","university":"Pepperdine University","bank":{"cardExpire":"10/27","cardNumber":"6011212053392887","cardType":"Discover","currency":"EUR","iban":"DE12191213468288004835"},"company":{"department":"Research and Development","name":"Schiller - Zieme","title":"Accountant","address":{"address":"1896 Washington Street","city":"Dallas","state":"Nevada","stateCode":"NV","postalCode":"88511","coordinates":{"lat":20.086743,"lng":-34.577107},"country":"United States"}},"ein":"963-113","ssn":"638-461-822","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"},{"id":4,"firstName":"James","lastName":"Davis","maidenName":"","age":46,"gender":"male","email":"james.davis@x.dummyjson.com","phone":"+49 614-958-9364","username":"jamesd","password":"jamesdpass","birthDate":"1979-5-4","image":"https://dummyjson.com/icon/jamesd/128","bloodGroup":"AB+","height":193.31,"weight":62.1,"eyeColor":"Amber","hair":{"color":"Blonde","type":"Straight"},"ip":"101.118.131.66","address":{"address":"238 Jefferson Street","city":"Seattle","state":"Pennsylvania","stateCode":"PA","postalCode":"68354","coordinates":{"lat":16.782513,"lng":-139.34723},"country":"United States"},"macAddress":"10:7d:df:1f:97:58","university":"University of Southern California","bank":{"cardExpire":"07/30","cardNumber":"5303440212268149","cardType":"Mastercard","currency":"CAD","iban":"DE01300746880579852937"},"company":{"department":"Support","name":"Pagac and Sons","title":"Research Analyst","address":{"address":"1622 Lincoln Street","city":"Fort Worth","state":"Pennsylvania","stateCode":"PA","postalCode":"27768","coordinates":{"lat":54.91193,"lng":-79.498328},"country":"United States"}},"ein":"904-810","ssn":"116-951-314","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"},{"id":5,"firstName":"Emma","lastName":"Miller","maidenName":"Johnson","age":31,"gender":"female","email":"emma.miller@x.dummyjson.com","phone":"+91 759-776-1614","username":"emmaj","password":"emmajpass","birthDate":"1994-6-13","image":"https://dummyjson.com/icon/emmaj/128","bloodGroup":"AB-","height":192.8,"weight":63.62,"eyeColor":"Green","hair":{"color":"White","type":"Straight"},"ip":"224.126.22.183","address":{"address":"607 Fourth Street","city":"Jacksonville","state":"Colorado","stateCode":"CO","postalCode":"26593","coordinates":{"lat":0.505589,"lng":-157.43281},"country":"United States"},"macAddress":"32:b9:7e:8d:f5:e8","university":"Northeastern University","bank":{"cardExpire":"07/30","cardNumber":"5237188057591130","cardType":"Mastercard","currency":"NZD","iban":"DE19182355652037133559"},"company":{"department":"Human Resources","name":"Graham - Gulgowski","title":"Quality Assurance Engineer","address":{"address":"1460 Sixth Street","city":"San Antonio","state":"Idaho","stateCode":"ID","postalCode":"21965","coordinates":{"lat":44.346545,"lng":-26.944701},"country":"United States"}},"ein":"403-505","ssn":"526-210-885","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"},{"id":6,"firstName":"Olivia","lastName":"Wilson","maidenName":"","age":23,"gender":"female","email":"olivia.wilson@x.dummyjson.com","phone":"+91 607-295-6448","username":"oliviaw","password":"oliviawpass","birthDate":"2002-4-20","image":"https://dummyjson.com/icon/oliviaw/128","bloodGroup":"B+","height":182.61,"weight":58,"eyeColor":"Hazel","hair":{"color":"Gray","type":"Curly"},"ip":"249.178.112.207","address":{"address":"547 First Street","city":"Fort Worth","state":"Tennessee","stateCode":"TN","postalCode":"83843","coordinates":{"lat":75.32627,"lng":-26.15285},"country":"United States"},"macAddress":"9c:7f:ea:34:18:19","university":"University of North Carolina--Chapel Hill","bank":{"cardExpire":"06/30","cardNumber":"376320072452632","cardType":"American Express","currency":"NZD","iban":"DE21153814367894194071"},"company":{"department":"Product Management","name":"Pfannerstill Inc","title":"Research Analyst","address":{"address":"425 Sixth Street","city":"Indianapolis","state":"Oklahoma","stateCode":"OK","postalCode":"74263","coordinates":{"lat":74.986644,"lng":-132.916888},"country":"United States"}},"ein":"921-709","ssn":"836-772-168","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":7,"firstName":"Alexander","lastName":"Jones","maidenName":"","age":39,"gender":"male","email":"alexander.jones@x.dummyjson.com","phone":"+61 260-824-4986","username":"alexanderj","password":"alexanderjpass","birthDate":"1986-10-20","image":"https://dummyjson.com/icon/alexanderj/128","bloodGroup":"AB-","height":153.89,"weight":77.42,"eyeColor":"Blue","hair":{"color":"White","type":"Straight"},"ip":"166.204.84.32","address":{"address":"664 Maple Street","city":"Indianapolis","state":"Delaware","stateCode":"DE","postalCode":"86684","coordinates":{"lat":35.289664,"lng":7.063255},"country":"United States"},"macAddress":"d2:64:58:2d:1c:46","university":"University of Illinois--Urbana-Champaign","bank":{"cardExpire":"12/29","cardNumber":"5189302549548693","cardType":"Mastercard","currency":"PKR","iban":"DE67517655968963441488"},"company":{"department":"Engineering","name":"Dickens - Beahan","title":"Web Developer","address":{"address":"996 Eighth Street","city":"Washington","state":"Kansas","stateCode":"KS","postalCode":"27858","coordinates":{"lat":-75.462366,"lng":-128.025697},"country":"United States"}},"ein":"638-127","ssn":"722-993-925","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":8,"firstName":"Ava","lastName":"Taylor","maidenName":"","age":28,"gender":"female","email":"ava.taylor@x.dummyjson.com","phone":"+1 458-853-7877","username":"avat","password":"avatpass","birthDate":"1997-8-25","image":"https://dummyjson.com/icon/avat/128","bloodGroup":"AB-","height":168.47,"weight":57.08,"eyeColor":"Hazel","hair":{"color":"Red","type":"Kinky"},"ip":"150.73.197.233","address":{"address":"1197 First Street","city":"Fort Worth","state":"Rhode Island","stateCode":"RI","postalCode":"24771","coordinates":{"lat":-81.194833,"lng":-87.948158},"country":"United States"},"macAddress":"8d:2e:c2:d6:e7:a8","university":"University of Wisconsin--Madison","bank":{"cardExpire":"08/30","cardNumber":"5349974103330333","cardType":"Mastercard","currency":"EUR","iban":"FR94ZM2MMGL1EVYQE1ZLCVCFH83"},"company":{"department":"Marketing","name":"Nikolaus Inc","title":"Chief Executive Officer","address":{"address":"930 Lincoln Street","city":"Austin","state":"Colorado","stateCode":"CO","postalCode":"47592","coordinates":{"lat":87.970083,"lng":-42.769351},"country":"United States"}},"ein":"297-762","ssn":"257-419-109","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":9,"firstName":"Ethan","lastName":"Martinez","maidenName":"","age":34,"gender":"male","email":"ethan.martinez@x.dummyjson.com","phone":"+92 933-608-5081","username":"ethanm","password":"ethanmpass","birthDate":"1991-2-12","image":"https://dummyjson.com/icon/ethanm/128","bloodGroup":"AB+","height":159.19,"weight":68.81,"eyeColor":"Hazel","hair":{"color":"Purple","type":"Curly"},"ip":"63.191.127.71","address":{"address":"466 Pine Street","city":"San Antonio","state":"Louisiana","stateCode":"LA","postalCode":"72360","coordinates":{"lat":74.074918,"lng":-25.312703},"country":"United States"},"macAddress":"59:e:9e:e3:29:da","university":"Syracuse University","bank":{"cardExpire":"10/27","cardNumber":"3598603288061479","cardType":"JCB","currency":"GBP","iban":"GB26PND7D83JTW4HL6LZ71"},"company":{"department":"Support","name":"Gorczany - Gottlieb","title":"Legal Counsel","address":{"address":"1597 Oak Street","city":"Chicago","state":"Florida","stateCode":"FL","postalCode":"28100","coordinates":{"lat":-67.45208,"lng":-23.209886},"country":"United States"}},"ein":"790-434","ssn":"569-650-348","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":10,"firstName":"Isabella","lastName":"Anderson","maidenName":"Davis","age":32,"gender":"female","email":"isabella.anderson@x.dummyjson.com","phone":"+49 770-658-4885","username":"isabellad","password":"isabelladpass","birthDate":"1993-6-10","image":"https://dummyjson.com/icon/isabellad/128","bloodGroup":"A-","height":150.56,"weight":50.1,"eyeColor":"Brown","hair":{"color":"Blonde","type":"Curly"},"ip":"114.9.114.205","address":{"address":"1964 Oak Street","city":"New York","state":"Utah","stateCode":"UT","postalCode":"89352","coordinates":{"lat":41.331324,"lng":151.782727},"country":"United States"},"macAddress":"b1:b0:d0:a2:82:80","university":"California Institute of Technology (Caltech)","bank":{"cardExpire":"03/30","cardNumber":"3602093733952858","cardType":"Diners Club International","currency":"USD","iban":"DE12934874962442340025"},"company":{"department":"Marketing","name":"Pollich - Hilpert","title":"Chief Financial Officer","address":{"address":"1029 Adams Street","city":"San Diego","state":"Maryland","stateCode":"MD","postalCode":"63847","coordinates":{"lat":-25.843393,"lng":-62.692681},"country":"United States"}},"ein":"127-297","ssn":"902-438-728","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":11,"firstName":"Liam","lastName":"Garcia","maidenName":"","age":30,"gender":"male","email":"liam.garcia@x.dummyjson.com","phone":"+92 870-217-6201","username":"liamg","password":"liamgpass","birthDate":"1995-6-6","image":"https://dummyjson.com/icon/liamg/128","bloodGroup":"AB-","height":162.32,"weight":93.16,"eyeColor":"Violet","hair":{"color":"Red","type":"Wavy"},"ip":"56.201.85.9","address":{"address":"576 Fifth Street","city":"Denver","state":"South Dakota","stateCode":"SD","postalCode":"57252","coordinates":{"lat":-66.218177,"lng":-145.340165},"country":"United States"},"macAddress":"31:9a:28:8b:99:6c","university":"Ohio State University","bank":{"cardExpire":"12/29","cardNumber":"3614993744940956","cardType":"Diners Club International","currency":"USD","iban":"DE65581882748067758114"},"company":{"department":"Services","name":"Considine - Torp","title":"Web Developer","address":{"address":"27 Cedar Street","city":"Philadelphia","state":"Connecticut","stateCode":"CT","postalCode":"79574","coordinates":{"lat":-81.841588,"lng":31.79423},"country":"United States"}},"ein":"326-604","ssn":"933-784-949","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":12,"firstName":"Mia","lastName":"Rodriguez","maidenName":"","age":25,"gender":"female","email":"mia.rodriguez@x.dummyjson.com","phone":"+49 989-461-8403","username":"miar","password":"miarpass","birthDate":"2000-8-4","image":"https://dummyjson.com/icon/miar/128","bloodGroup":"O-","height":188.08,"weight":56.03,"eyeColor":"Blue","hair":{"color":"Purple","type":"Wavy"},"ip":"11.72.253.90","address":{"address":"1627 Sixth Street","city":"Jacksonville","state":"West Virginia","stateCode":"WV","postalCode":"41810","coordinates":{"lat":24.857497,"lng":-34.865429},"country":"United States"},"macAddress":"53:d7:a4:6:1e:58","university":"William & Mary","bank":{"cardExpire":"02/29","cardNumber":"343932350909214","cardType":"American Express","currency":"CAD","iban":"DE77118774979880310165"},"company":{"department":"Accounting","name":"Miller, Schowalter and Wisozk","title":"Business Analyst","address":{"address":"1039 Washington Street","city":"Philadelphia","state":"New Jersey","stateCode":"NJ","postalCode":"57518","coordinates":{"lat":85.455933,"lng":164.246103},"country":"United States"}},"ein":"754-660","ssn":"749-524-124","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":13,"firstName":"Noah","lastName":"Hernandez","maidenName":"","age":41,"gender":"male","email":"noah.hernandez@x.dummyjson.com","phone":"+49 393-605-6968","username":"noahh","password":"noahhpass","birthDate":"1984-6-5","image":"https://dummyjson.com/icon/noahh/128","bloodGroup":"AB+","height":188.62,"weight":69.49,"eyeColor":"Brown","hair":{"color":"Red","type":"Curly"},"ip":"169.154.126.57","address":{"address":"1413 Maple Street","city":"New York","state":"North Dakota","stateCode":"ND","postalCode":"73696","coordinates":{"lat":-25.0377,"lng":-151.70469},"country":"United States"},"macAddress":"d4:fe:ae:8f:eb:a3","university":"New York University (NYU)","bank":{"cardExpire":"03/30","cardNumber":"6262462852322850","cardType":"UnionPay","currency":"PKR","iban":"DE13437032020581217601"},"company":{"department":"Engineering","name":"Botsford, Marquardt and Roberts","title":"Database Administrator","address":{"address":"62 Third Street","city":"Seattle","state":"Oregon","stateCode":"OR","postalCode":"83474","coordinates":{"lat":19.490447,"lng":-13.173207},"country":"United States"}},"ein":"877-628","ssn":"660-847-389","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":14,"firstName":"Charlotte","lastName":"Lopez","maidenName":"Martinez","age":37,"gender":"female","email":"charlotte.lopez@x.dummyjson.com","phone":"+44 373-953-5028","username":"charlottem","password":"charlottempass","birthDate":"1988-6-8","image":"https://dummyjson.com/icon/charlottem/128","bloodGroup":"AB-","height":178.92,"weight":82.46,"eyeColor":"Brown","hair":{"color":"Gray","type":"Kinky"},"ip":"119.103.95.60","address":{"address":"208 Second Street","city":"Columbus","state":"Ohio","stateCode":"OH","postalCode":"42044","coordinates":{"lat":-44.443762,"lng":-151.420561},"country":"United States"},"macAddress":"f6:ff:37:aa:6c:f1","university":"Northeastern University","bank":{"cardExpire":"12/27","cardNumber":"3634388457177035","cardType":"Diners Club International","currency":"PKR","iban":"DE54092147842698685963"},"company":{"department":"Accounting","name":"Zulauf and Sons","title":"Chief Executive Officer","address":{"address":"569 Jefferson Street","city":"Los Angeles","state":"Montana","stateCode":"MT","postalCode":"17779","coordinates":{"lat":-18.371256,"lng":22.566258},"country":"United States"}},"ein":"364-782","ssn":"255-491-479","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":15,"firstName":"William","lastName":"Gonzalez","maidenName":"","age":33,"gender":"male","email":"william.gonzalez@x.dummyjson.com","phone":"+81 905-252-7319","username":"williamg","password":"williamgpass","birthDate":"1992-3-27","image":"https://dummyjson.com/icon/williamg/128","bloodGroup":"B-","height":173.21,"weight":82.41,"eyeColor":"Hazel","hair":{"color":"Gray","type":"Curly"},"ip":"250.2.241.204","address":{"address":"31 Maple Street","city":"San Jose","state":"Utah","stateCode":"UT","postalCode":"78243","coordinates":{"lat":8.152876,"lng":113.29799},"country":"United States"},"macAddress":"f5:68:28:f9:ec:89","university":"Tufts University","bank":{"cardExpire":"05/30","cardNumber":"6228256225004929","cardType":"UnionPay","currency":"PKR","iban":"DE63711022986572448914"},"company":{"department":"Marketing","name":"Spinka - Dickinson","title":"Software Architect","address":{"address":"1538 Eighth Street","city":"San Jose","state":"Missouri","stateCode":"MO","postalCode":"29673","coordinates":{"lat":24.169361,"lng":-29.395167},"country":"United States"}},"ein":"830-515","ssn":"690-544-755","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"},{"id":16,"firstName":"Avery","lastName":"Perez","maidenName":"","age":26,"gender":"female","email":"avery.perez@x.dummyjson.com","phone":"+61 731-431-3457","username":"averyp","password":"averyppass","birthDate":"1999-3-10","image":"https://dummyjson.com/icon/averyp/128","bloodGroup":"O-","height":172.68,"weight":93.9,"eyeColor":"Brown","hair":{"color":"Green","type":"Curly"},"ip":"131.217.4.214","address":{"address":"1125 First Street","city":"Columbus","state":"Iowa","stateCode":"IA","postalCode":"30973","coordinates":{"lat":12.789127,"lng":85.792598},"country":"United States"},"macAddress":"b3:ff:f3:c5:37:46","university":"Harvard University","bank":{"cardExpire":"08/29","cardNumber":"378024038311910","cardType":"American Express","currency":"USD","iban":"DE42403186906981858976"},"company":{"department":"Accounting","name":"Herzog Inc","title":"Database Administrator","address":{"address":"183 Maple Street","city":"New York","state":"Rhode Island","stateCode":"RI","postalCode":"45238","coordinates":{"lat":-53.318189,"lng":105.835271},"country":"United States"}},"ein":"348-493","ssn":"679-523-686","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":17,"firstName":"Evelyn","lastName":"Sanchez","maidenName":"","age":38,"gender":"female","email":"evelyn.sanchez@x.dummyjson.com","phone":"+1 623-880-6871","username":"evelyns","password":"evelynspass","birthDate":"1987-10-13","image":"https://dummyjson.com/icon/evelyns/128","bloodGroup":"B+","height":184.08,"weight":83.15,"eyeColor":"Violet","hair":{"color":"Blue","type":"Curly"},"ip":"87.114.135.146","address":{"address":"1170 Lincoln Street","city":"San Diego","state":"Wyoming","stateCode":"WY","postalCode":"43423","coordinates":{"lat":-83.31484,"lng":11.768071},"country":"United States"},"macAddress":"f8:e5:bd:43:bc:d8","university":"Washington University in St. Louis","bank":{"cardExpire":"01/29","cardNumber":"3514443781649095","cardType":"JCB","currency":"GBP","iban":"GB74239MLVNQ0UB9ANTFRM"},"company":{"department":"Support","name":"Predovic - Johns","title":"Chief Financial Officer","address":{"address":"1802 Ninth Street","city":"San Diego","state":"Minnesota","stateCode":"MN","postalCode":"89416","coordinates":{"lat":29.034592,"lng":-78.004598},"country":"United States"}},"ein":"604-817","ssn":"689-332-644","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":18,"firstName":"Logan","lastName":"Torres","maidenName":"","age":32,"gender":"male","email":"logan.torres@x.dummyjson.com","phone":"+81 507-434-8733","username":"logant","password":"logantpass","birthDate":"1993-10-26","image":"https://dummyjson.com/icon/logant/128","bloodGroup":"A+","height":190.04,"weight":72.43,"eyeColor":"Green","hair":{"color":"Green","type":"Curly"},"ip":"155.98.15.162","address":{"address":"907 Seventh Street","city":"Columbus","state":"Arkansas","stateCode":"AR","postalCode":"78805","coordinates":{"lat":-64.846516,"lng":174.775744},"country":"United States"},"macAddress":"40:d:5c:1:7d:bf","university":"University of Illinois--Urbana-Champaign","bank":{"cardExpire":"04/30","cardNumber":"6258651210557142","cardType":"UnionPay","currency":"EUR","iban":"ES1171429445321693077621"},"company":{"department":"Training","name":"Jast - Nader","title":"Data Analyst","address":{"address":"947 Main Street","city":"Denver","state":"Minnesota","stateCode":"MN","postalCode":"71896","coordinates":{"lat":-24.654063,"lng":-147.255268},"country":"United States"}},"ein":"576-218","ssn":"806-639-934","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":19,"firstName":"Abigail","lastName":"Rivera","maidenName":"","age":29,"gender":"female","email":"abigail.rivera@x.dummyjson.com","phone":"+91 228-363-7806","username":"abigailr","password":"abigailrpass","birthDate":"1996-10-11","image":"https://dummyjson.com/icon/abigailr/128","bloodGroup":"B+","height":186.39,"weight":74.61,"eyeColor":"Violet","hair":{"color":"Blue","type":"Kinky"},"ip":"19.183.240.94","address":{"address":"996 Oak Street","city":"Chicago","state":"New Mexico","stateCode":"NM","postalCode":"11407","coordinates":{"lat":44.321308,"lng":-3.723903},"country":"United States"},"macAddress":"1d:a6:58:2a:e5:e4","university":"California Institute of Technology (Caltech)","bank":{"cardExpire":"01/27","cardNumber":"6011399019022417","cardType":"Discover","currency":"EUR","iban":"IT11QP2B5J81QM1FBX029VI5DD68O"},"company":{"department":"Human Resources","name":"Prohaska - Thiel","title":"Business Analyst","address":{"address":"1402 Adams Street","city":"Austin","state":"Wisconsin","stateCode":"WI","postalCode":"51456","coordinates":{"lat":25.672938,"lng":-76.54967},"country":"United States"}},"ein":"173-637","ssn":"655-823-929","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Edge/97.0.1072.76 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":20,"firstName":"Jackson","lastName":"Evans","maidenName":"","age":35,"gender":"male","email":"jackson.evans@x.dummyjson.com","phone":"+44 468-628-6686","username":"jacksone","password":"jacksonepass","birthDate":"1990-11-30","image":"https://dummyjson.com/icon/jacksone/128","bloodGroup":"O-","height":162.57,"weight":74.37,"eyeColor":"Green","hair":{"color":"Red","type":"Straight"},"ip":"221.127.144.198","address":{"address":"1873 Main Street","city":"New York","state":"Arkansas","stateCode":"AR","postalCode":"26600","coordinates":{"lat":34.722451,"lng":63.448927},"country":"United States"},"macAddress":"81:14:1:97:88:85","university":"Ohio State University","bank":{"cardExpire":"07/30","cardNumber":"376760688512826","cardType":"American Express","currency":"GBP","iban":"GB27CM0H0MNPXSPDGA0A1O"},"company":{"department":"Legal","name":"Kuhlman LLC","title":"Web Developer","address":{"address":"1706 First Street","city":"Chicago","state":"Hawaii","stateCode":"HI","postalCode":"34725","coordinates":{"lat":-80.416937,"lng":-83.224516},"country":"United States"}},"ein":"843-260","ssn":"248-787-886","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":21,"firstName":"Madison","lastName":"Collins","maidenName":"","age":27,"gender":"female","email":"madison.collins@x.dummyjson.com","phone":"+81 259-957-5711","username":"madisonc","password":"madisoncpass","birthDate":"1998-3-7","image":"https://dummyjson.com/icon/madisonc/128","bloodGroup":"B-","height":189.28,"weight":56.96,"eyeColor":"Red","hair":{"color":"Gray","type":"Curly"},"ip":"85.34.1.204","address":{"address":"1892 Lincoln Street","city":"Philadelphia","state":"New Jersey","stateCode":"NJ","postalCode":"62091","coordinates":{"lat":52.993694,"lng":160.486892},"country":"United States"},"macAddress":"13:b0:d0:23:4d:26","university":"University of Pennsylvania","bank":{"cardExpire":"09/27","cardNumber":"5551259848327064","cardType":"Mastercard","currency":"EUR","iban":"ES3893300143587765232049"},"company":{"department":"Engineering","name":"Mayer - Smitham","title":"Chief Technology Officer","address":{"address":"1438 Main Street","city":"San Diego","state":"Delaware","stateCode":"DE","postalCode":"63144","coordinates":{"lat":1.629613,"lng":23.232982},"country":"United States"}},"ein":"716-166","ssn":"457-258-950","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":22,"firstName":"Elijah","lastName":"Stewart","maidenName":"","age":34,"gender":"male","email":"elijah.stewart@x.dummyjson.com","phone":"+44 468-357-7872","username":"elijahs","password":"elijahspass","birthDate":"1991-10-22","image":"https://dummyjson.com/icon/elijahs/128","bloodGroup":"A-","height":195.33,"weight":81.64,"eyeColor":"Blue","hair":{"color":"Purple","type":"Straight"},"ip":"23.87.135.62","address":{"address":"1701 Eighth Street","city":"Columbus","state":"Illinois","stateCode":"IL","postalCode":"31585","coordinates":{"lat":-54.833799,"lng":-174.504027},"country":"United States"},"macAddress":"75:17:c6:35:fc:6d","university":"Georgetown University","bank":{"cardExpire":"05/28","cardNumber":"3648138556543460","cardType":"Diners Club International","currency":"EUR","iban":"DE82018985741195770313"},"company":{"department":"Legal","name":"Langworth Group","title":"Business Analyst","address":{"address":"155 Ninth Street","city":"Washington","state":"South Dakota","stateCode":"SD","postalCode":"19039","coordinates":{"lat":61.279254,"lng":-12.607767},"country":"United States"}},"ein":"520-394","ssn":"287-380-801","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":23,"firstName":"Chloe","lastName":"Morales","maidenName":"","age":40,"gender":"female","email":"chloe.morales@x.dummyjson.com","phone":"+92 468-541-7133","username":"chloem","password":"chloempass","birthDate":"1985-4-21","image":"https://dummyjson.com/icon/chloem/128","bloodGroup":"O+","height":185.07,"weight":63.97,"eyeColor":"Brown","hair":{"color":"Red","type":"Kinky"},"ip":"66.78.20.21","address":{"address":"401 Fourth Street","city":"Dallas","state":"New Jersey","stateCode":"NJ","postalCode":"54972","coordinates":{"lat":-30.190759,"lng":-58.705979},"country":"United States"},"macAddress":"fc:f:29:e1:37:b8","university":"Syracuse University","bank":{"cardExpire":"09/30","cardNumber":"347036238254235","cardType":"American Express","currency":"CNY","iban":"DE77762461851744284392"},"company":{"department":"Sales","name":"Grady LLC","title":"Database Administrator","address":{"address":"269 Third Street","city":"Houston","state":"North Carolina","stateCode":"NC","postalCode":"10385","coordinates":{"lat":40.098115,"lng":-1.762972},"country":"United States"}},"ein":"913-597","ssn":"938-883-163","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":24,"firstName":"Mateo","lastName":"Nguyen","maidenName":"","age":31,"gender":"male","email":"mateo.nguyen@x.dummyjson.com","phone":"+1 341-597-6694","username":"mateon","password":"mateonpass","birthDate":"1994-6-2","image":"https://dummyjson.com/icon/mateon/128","bloodGroup":"O+","height":174.29,"weight":59.98,"eyeColor":"Red","hair":{"color":"Purple","type":"Wavy"},"ip":"192.57.144.7","address":{"address":"1578 Fourth Street","city":"Columbus","state":"Missouri","stateCode":"MO","postalCode":"20673","coordinates":{"lat":-32.828675,"lng":-82.557354},"country":"United States"},"macAddress":"a7:26:10:7a:36:29","university":"Columbia University","bank":{"cardExpire":"12/29","cardNumber":"4021840414995098","cardType":"Visa","currency":"CAD","iban":"DE43275561962007561223"},"company":{"department":"Accounting","name":"Spinka LLC","title":"Business Analyst","address":{"address":"1967 Jefferson Street","city":"Dallas","state":"Louisiana","stateCode":"LA","postalCode":"78527","coordinates":{"lat":75.982676,"lng":164.459743},"country":"United States"}},"ein":"229-249","ssn":"416-877-230","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.69 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":25,"firstName":"Harper","lastName":"Kelly","maidenName":"Evans","age":28,"gender":"female","email":"harper.kelly@x.dummyjson.com","phone":"+92 518-863-2863","username":"harpere","password":"harperepass","birthDate":"1997-3-3","image":"https://dummyjson.com/icon/harpere/128","bloodGroup":"AB-","height":184.32,"weight":81.69,"eyeColor":"Amber","hair":{"color":"Red","type":"Curly"},"ip":"174.111.61.162","address":{"address":"1591 Adams Street","city":"Philadelphia","state":"New York","stateCode":"NY","postalCode":"69521","coordinates":{"lat":-26.832913,"lng":-75.445017},"country":"United States"},"macAddress":"b:ff:33:67:94:e4","university":"Boston College","bank":{"cardExpire":"06/27","cardNumber":"4488823564436432","cardType":"Visa","currency":"EUR","iban":"ES5874149276753342261515"},"company":{"department":"Legal","name":"Leffler, Rolfson and Becker","title":"Business Development Manager","address":{"address":"16 Maple Street","city":"Austin","state":"North Carolina","stateCode":"NC","postalCode":"68274","coordinates":{"lat":-15.423746,"lng":149.298887},"country":"United States"}},"ein":"592-557","ssn":"209-544-548","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":26,"firstName":"Evelyn","lastName":"Gonzalez","maidenName":"","age":36,"gender":"female","email":"evelyn.gonzalez@x.dummyjson.com","phone":"+61 708-508-4638","username":"evelyng","password":"evelyngpass","birthDate":"1989-2-5","image":"https://dummyjson.com/icon/evelyng/128","bloodGroup":"O+","height":168.94,"weight":58.47,"eyeColor":"Red","hair":{"color":"Black","type":"Wavy"},"ip":"42.52.74.232","address":{"address":"1065 Lincoln Street","city":"Dallas","state":"Maine","stateCode":"ME","postalCode":"84898","coordinates":{"lat":67.768359,"lng":71.268643},"country":"United States"},"macAddress":"89:5e:5a:2a:72:42","university":"Washington University in St. Louis","bank":{"cardExpire":"08/28","cardNumber":"6011735364912274","cardType":"Discover","currency":"CAD","iban":"DE27147353096476220032"},"company":{"department":"Accounting","name":"Tromp, Gaylord and Weber","title":"Project Manager","address":{"address":"584 Ninth Street","city":"Jacksonville","state":"Wisconsin","stateCode":"WI","postalCode":"45633","coordinates":{"lat":26.014021,"lng":40.572436},"country":"United States"}},"ein":"569-275","ssn":"487-680-127","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":27,"firstName":"Daniel","lastName":"Cook","maidenName":"","age":42,"gender":"male","email":"daniel.cook@x.dummyjson.com","phone":"+44 254-761-6843","username":"danielc","password":"danielcpass","birthDate":"1983-12-25","image":"https://dummyjson.com/icon/danielc/128","bloodGroup":"AB+","height":186.21,"weight":83.72,"eyeColor":"Brown","hair":{"color":"Blonde","type":"Curly"},"ip":"1.61.73.142","address":{"address":"1163 Pine Street","city":"Los Angeles","state":"Nevada","stateCode":"NV","postalCode":"58781","coordinates":{"lat":-3.456681,"lng":-134.937482},"country":"United States"},"macAddress":"6e:73:dc:3a:85:10","university":"Columbia University","bank":{"cardExpire":"05/29","cardNumber":"5485409595328150","cardType":"Mastercard","currency":"NZD","iban":"DE71341603969952506034"},"company":{"department":"Support","name":"Morissette, Baumbach and Auer","title":"Legal Counsel","address":{"address":"938 Fifth Street","city":"San Francisco","state":"South Dakota","stateCode":"SD","postalCode":"45305","coordinates":{"lat":21.323588,"lng":-83.531427},"country":"United States"}},"ein":"585-905","ssn":"645-515-583","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":28,"firstName":"Lily","lastName":"Lee","maidenName":"Brown","age":30,"gender":"female","email":"lily.lee@x.dummyjson.com","phone":"+1 808-757-9867","username":"lilyb","password":"lilybpass","birthDate":"1995-12-3","image":"https://dummyjson.com/icon/lilyb/128","bloodGroup":"AB-","height":181.42,"weight":51.49,"eyeColor":"Gray","hair":{"color":"Purple","type":"Straight"},"ip":"67.184.255.96","address":{"address":"1946 Oak Street","city":"Phoenix","state":"Massachusetts","stateCode":"MA","postalCode":"41540","coordinates":{"lat":-9.87059,"lng":-72.336845},"country":"United States"},"macAddress":"18:b6:c7:a:50:3f","university":"Johns Hopkins University","bank":{"cardExpire":"12/28","cardNumber":"5551782139834613","cardType":"Mastercard","currency":"CAD","iban":"DE49484285539189712621"},"company":{"department":"Product Management","name":"Cremin Inc","title":"Quality Assurance Engineer","address":{"address":"1735 Cedar Street","city":"Phoenix","state":"Wyoming","stateCode":"WY","postalCode":"85797","coordinates":{"lat":72.231441,"lng":-158.147245},"country":"United States"}},"ein":"229-776","ssn":"358-185-671","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Edge/97.0.1072.76 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":29,"firstName":"Henry","lastName":"Hill","maidenName":"","age":39,"gender":"male","email":"henry.hill@x.dummyjson.com","phone":"+1 240-833-4680","username":"henryh","password":"henryhpass","birthDate":"1986-8-19","image":"https://dummyjson.com/icon/henryh/128","bloodGroup":"O-","height":180.25,"weight":95.84,"eyeColor":"Gray","hair":{"color":"Black","type":"Straight"},"ip":"194.43.55.202","address":{"address":"1837 Maple Street","city":"Indianapolis","state":"Delaware","stateCode":"DE","postalCode":"81783","coordinates":{"lat":35.498256,"lng":154.088476},"country":"United States"},"macAddress":"fa:c3:1b:21:5f:44","university":"University of Illinois--Urbana-Champaign","bank":{"cardExpire":"11/29","cardNumber":"3625097026040498","cardType":"Diners Club International","currency":"EUR","iban":"DE08820336197191865470"},"company":{"department":"Services","name":"Gerlach, Funk and Schoen","title":"Sales Manager","address":{"address":"1651 Lincoln Street","city":"San Francisco","state":"West Virginia","stateCode":"WV","postalCode":"61805","coordinates":{"lat":-59.936335,"lng":-12.405368},"country":"United States"}},"ein":"118-957","ssn":"925-686-100","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"},{"id":30,"firstName":"Addison","lastName":"Wright","maidenName":"","age":33,"gender":"female","email":"addison.wright@x.dummyjson.com","phone":"+1 514-384-3300","username":"addisonw","password":"addisonwpass","birthDate":"1992-1-3","image":"https://dummyjson.com/icon/addisonw/128","bloodGroup":"B+","height":179.32,"weight":76.93,"eyeColor":"Brown","hair":{"color":"Blonde","type":"Straight"},"ip":"11.35.69.81","address":{"address":"568 Tenth Street","city":"San Francisco","state":"Montana","stateCode":"MT","postalCode":"54698","coordinates":{"lat":20.946052,"lng":100.228822},"country":"United States"},"macAddress":"fb:0:94:21:16:c","university":"Syracuse University","bank":{"cardExpire":"06/28","cardNumber":"5274971895809762","cardType":"Mastercard","currency":"PKR","iban":"DE91480955939051635497"},"company":{"department":"Services","name":"Kreiger Inc","title":"Human Resources Manager","address":{"address":"1173 Eighth Street","city":"San Diego","state":"Michigan","stateCode":"MI","postalCode":"85777","coordinates":{"lat":65.324413,"lng":87.142893},"country":"United States"}},"ein":"415-286","ssn":"804-492-390","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"}],"total":208,"skip":0,"limit":30}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000 ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body contains users array | 1 | 0 | 0 |
| users array is not empty | 1 | 0 | 0 |
| each user has required fields | 1 | 0 | 0 |
| each user has required fields with correct data types | 1 | 0 | 0 |
| response body contains pagination fields | 1 | 0 | 0 |
| users count does not exceed limit | 1 | 0 | 0 |
| Total | 9 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Get User-By ID
## Overview
This request retrieves detailed information about a specific user from the DummyJSON API by their unique user ID.
## Purpose
This endpoint exists to fetch individual user profile data when you need to access or display information about a specific user. It solves the problem of retrieving complete user details without having to fetch all users and filter through them.
## Expected Behaviour
When executed successfully, this request will:
- Return a single user object matching the provided user ID
- Respond with HTTP status code 200
- Complete within 2000 milliseconds
- Return data in JSON format
## Request Details
**Method:** `GET`
**URL:** `https://dummyjson.com/users/6`
**Headers:** None specified
**Body:** No request body (GET request)
## Variables Used
- **`baseUrl`** - The base URL for the DummyJSON API endpoint
- **`user_id`** - The unique identifier of the user to retrieve
## Response Details
The response returns a user object with the following structure:
```json
{
"id": number,
"firstName": string,
"lastName": string,
"email": string,
"username": string
}
```
**Required Fields:**
- `id` (number) - Unique user identifier
- `firstName` (string) - User's first name
- `lastName` (string) - User's last name
- `email` (string) - User's email address
- `username` (string) - User's username
## Test Validations
This request includes the following automated test assertions:
1. **Status Code Validation** - Verifies the response status code is 200 (OK)
2. **Performance Check** - Ensures the response time is less than 2000ms
3. **Content-Type Validation** - Confirms the response Content-Type header is `application/json`
4. **Response Structure** - Validates that the response body is a JSON object
5. **Required Fields Presence** - Checks that all required fields (id, firstName, lastName, email, username) are present in the response
6. **Data Type Validation** - Verifies correct data types for all required fields:
- `id` must be a number
- `firstName` must be a string
- `lastName` must be a string
- `email` must be a string
- `username` must be a string
7. **ID Match Validation** - Confirms that the returned user ID matches the requested user ID from the environment variable
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | a9a8018e-fc70-4b72-9388-714b4faa738d |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:12 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 94 |
| x-ratelimit-reset | 1769721617 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"58c-f3JuK/tymf0Ng/VMSstXj5q9u+M" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=Sfejw%2FayAOdaxbNlo%2BBKlyaefdd6%2B%2FPMTYApWmWAyO9aBRMoOxQBp0qLAlCucmqpBQ7wqVP8i6DOeNWmXVOOysLRTlO6ebl%2B1JMFfHbuHCnd3ynaKIlkwes%3D"}]} |
| CF-RAY | 9c5bc5aa4c5f0c5b-AMM |
{"id":6,"firstName":"Olivia","lastName":"Wilson","maidenName":"","age":23,"gender":"female","email":"olivia.wilson@x.dummyjson.com","phone":"+91 607-295-6448","username":"oliviaw","password":"oliviawpass","birthDate":"2002-4-20","image":"https://dummyjson.com/icon/oliviaw/128","bloodGroup":"B+","height":182.61,"weight":58,"eyeColor":"Hazel","hair":{"color":"Gray","type":"Curly"},"ip":"249.178.112.207","address":{"address":"547 First Street","city":"Fort Worth","state":"Tennessee","stateCode":"TN","postalCode":"83843","coordinates":{"lat":75.32627,"lng":-26.15285},"country":"United States"},"macAddress":"9c:7f:ea:34:18:19","university":"University of North Carolina--Chapel Hill","bank":{"cardExpire":"06/30","cardNumber":"376320072452632","cardType":"American Express","currency":"NZD","iban":"DE21153814367894194071"},"company":{"department":"Product Management","name":"Pfannerstill Inc","title":"Research Analyst","address":{"address":"425 Sixth Street","city":"Indianapolis","state":"Oklahoma","stateCode":"OK","postalCode":"74263","coordinates":{"lat":74.986644,"lng":-132.916888},"country":"United States"}},"ein":"921-709","ssn":"836-772-168","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body contains required fields | 1 | 0 | 0 |
| required fields have correct data types | 1 | 0 | 0 |
| returned user id matches requested user id | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Search User-By Query
## Overview
This request searches for users in the system based on a query parameter. It allows you to find users by matching the search term against user attributes like first name, last name, or username.
## Purpose
This endpoint exists to enable user search functionality within the application. It solves the problem of quickly locating specific users from a potentially large user database by providing a flexible search mechanism. This is essential for features like user lookup, admin panels, or any interface requiring user selection or filtering.
## Expected Behaviour
When executed with a valid search query, the request should:
- Return a 200 OK status code
- Respond within 2000 milliseconds
- Return a JSON response containing a `users` array
- Include at least one user object in the array if matches are found
- Each user object should contain complete user information matching the search criteria
## Request Details
**Method:** `GET`
**URL:** `https://dummyjson.com/users/search?q=Emily`
**Query Parameters:**
- `q` - The search query string used to find matching users
**Headers:** Standard headers for GET requests
**Body:** No request body (GET request)
## Variables Used
- **baseUrl** - The base URL of the API endpoint (e.g., https://dummyjson.com)
- **user_query** - The search term used to query users (e.g., a name or username fragment)
## Response Details
**Expected Response Structure:**
```json
{
"users": [
{
"id": number,
"firstName": string,
"lastName": string,
"email": string,
"username": string,
// ... additional user fields
}
]
}
```
**Response Fields:**
- `users` - Array containing user objects that match the search query
- `id` - Unique numeric identifier for the user
- `firstName` - User's first name (string)
- `lastName` - User's last name (string)
- `email` - User's email address (string)
- `username` - User's username (string)
The search query is matched against user attributes, and all matching users are returned in the response array.
## Test Validations
This request includes comprehensive automated test validations:
1. **Status Code Validation** - Verifies the response status code is 200 (OK)
2. **Performance Validation** - Ensures the response time is less than 2000 milliseconds
3. **Content-Type Validation** - Confirms the response Content-Type header is `application/json`
4. **Response Structure Validation** - Checks that the response body contains a `users` property that is an array
5. **Non-Empty Results Validation** - Verifies that the search returns at least one user (users array is not empty for valid searches)
6. **Required Fields Validation** - Ensures each user object in the response contains all required fields: `id`, `firstName`, `lastName`, `email`, and `username`
7. **Data Type Validation** - Validates that each required field has the correct data type:
- `id` must be a number
- `firstName` must be a string
- `lastName` must be a string
- `email` must be a string
- `username` must be a string
8. **Search Query Reflection Validation** - Confirms that the search query is reflected in the response by checking if the query term appears in the user's firstName or lastName (case-insensitive matching)
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | be394911-4ec4-4540-85e6-67d6f27d6dbd |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:12 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 93 |
| x-ratelimit-reset | 1769721617 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"b33-ZT0uf5XOK4s2qOhUtFgDIwmO9nw" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=lGHlvWScozs6WGgbGlI9902CPKRReGC2pgfIAoSZS9%2FLAP1SsJUh2yw3bldeBnJwb50jli1L0HzhrBDlEQo79pGhn3IswfOjXiHrjNQtlO%2F8Fn03I2J8fNQ%3D"}]} |
| CF-RAY | 9c5bc5abc80a0c5b-AMM |
{"users":[{"id":1,"firstName":"Emily","lastName":"Johnson","maidenName":"Smith","age":29,"gender":"female","email":"emily.johnson@x.dummyjson.com","phone":"+81 965-431-3024","username":"emilys","password":"emilyspass","birthDate":"1996-5-30","image":"https://dummyjson.com/icon/emilys/128","bloodGroup":"O-","height":193.24,"weight":63.16,"eyeColor":"Green","hair":{"color":"Brown","type":"Curly"},"ip":"42.48.100.32","address":{"address":"626 Main Street","city":"Phoenix","state":"Mississippi","stateCode":"MS","postalCode":"29112","coordinates":{"lat":-77.16213,"lng":-92.084824},"country":"United States"},"macAddress":"47:fa:41:18:ec:eb","university":"University of Wisconsin--Madison","bank":{"cardExpire":"05/28","cardNumber":"3693233511855044","cardType":"Diners Club International","currency":"GBP","iban":"GB74MH2UZLR9TRPHYNU8F8"},"company":{"department":"Engineering","name":"Dooley, Kozey and Cronin","title":"Sales Manager","address":{"address":"263 Tenth Street","city":"San Francisco","state":"Wisconsin","stateCode":"WI","postalCode":"37657","coordinates":{"lat":71.814525,"lng":-161.150263},"country":"United States"}},"ein":"977-175","ssn":"900-590-289","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.93 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"admin"},{"id":103,"firstName":"Emily","lastName":"Brown","maidenName":"Taylor","age":43,"gender":"female","email":"emily.brown@x.dummyjson.com","phone":"+61 875-999-8871","username":"emilyt","password":"emilytpass","birthDate":"1982-12-5","image":"https://dummyjson.com/icon/emilyt/128","bloodGroup":"AB-","height":181.96,"weight":89.65,"eyeColor":"Blue","hair":{"color":"Brown","type":"Kinky"},"ip":"41.156.197.109","address":{"address":"1962 Fourth Street","city":"Houston","state":"Hawaii","stateCode":"HI","postalCode":"67104","coordinates":{"lat":-64.336051,"lng":135.876737},"country":"United States"},"macAddress":"3b:9b:ee:cf:1f:de","university":"Georgetown University","bank":{"cardExpire":"09/30","cardNumber":"374970244492890","cardType":"American Express","currency":"INR","iban":"DE06646067555223276327"},"company":{"department":"Research and Development","name":"Pfannerstill Inc","title":"Data Analyst","address":{"address":"1998 Main Street","city":"Indianapolis","state":"Arizona","stateCode":"AZ","postalCode":"57190","coordinates":{"lat":-83.995771,"lng":127.669213},"country":"United States"}},"ein":"844-425","ssn":"119-906-830","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"user"}],"total":2,"skip":0,"limit":2}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000 ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body contains users array | 1 | 0 | 0 |
| search return at least one product | 1 | 0 | 0 |
| each user has required fields | 1 | 0 | 0 |
| required fields have correct data types | 1 | 0 | 0 |
| search query is reflected in the response | 1 | 0 | 0 |
| Total | 8 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Add New User
## Overview
This request creates a new user in the system by submitting user information to the API endpoint.
## Purpose
This endpoint exists to allow the creation of new user records in the database. It solves the problem of programmatically adding users to the system with their basic information including first name, last name, and age.
## Expected Behaviour
When executed with valid user data, this request will:
- Submit the user information to the server
- Generate a unique ID for the new user
- Return the complete user object including the generated ID and all submitted fields
- Complete the operation within 2 seconds
- Return a 201 Created status code indicating successful user creation
## Request Details
**Method:** `POST`
**URL:** `https://dummyjson.com/users/add`
**Headers:**
- Content-Type: application/json
**Request Body Structure:**
```json
{
"firstName": "Rio",
"lastName": "Brown",
"age": 23
}
```
The request body accepts a JSON object with the following fields:
- `firstName` (string): The user's first name
- `lastName` (string): The user's last name
- `age` (number): The user's age
## Variables Used
- **baseUrl**: The base URL for the API endpoint. This variable should be configured in the active environment to point to the appropriate API server.
## Response Details
**Expected Status Code:** `201 Created`
**Response Structure:**
The API returns a JSON object containing the newly created user with all submitted fields plus a generated ID:
```json
{
"id": 1,
"firstName": "Rio",
"lastName": "Brown",
"age": 23
}
```
**Response Fields:**
- `id` (number): Auto-generated unique identifier for the user
- `firstName` (string): The user's first name (as submitted)
- `lastName` (string): The user's last name (as submitted)
- `age` (number): The user's age (as submitted)
**Response Headers:**
- Content-Type: application/json
## Test Validations
This request includes comprehensive automated test validations in the post-response script:
1. **Status Code Validation**: Verifies that the response status code is 201 (Created)
2. **Performance Validation**: Ensures the response time is less than 2000ms (2 seconds)
3. **Content-Type Validation**: Confirms the response Content-Type header includes "application/json"
4. **Response Structure Validation**: Checks that the response body is a valid JSON object
5. **ID Field Validation**: Verifies that the response body contains an "id" property and that it is of number data type
6. **Request Body Keys Validation**: Ensures all keys from the request body (firstName, lastName, age) are present in the returned user object
7. **Request Body Values Validation**: Confirms that all values from the request body match exactly with the corresponding values in the returned user object
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | f420a64f-0a71-4f47-911d-ebe46574985c |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 67 |
{
"firstName":"Rio",
"lastName":"Brown",
"age":23
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:12 GMT |
| Content-Type | application/json; charset=utf-8 |
| Content-Length | 765 |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 95 |
| x-ratelimit-reset | 1769721617 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"2fd-nFcmD7kMdMOb/8rPqNwVqPg5Fk4" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=NiEYFCx1oYzo0W5Kv4sFspAtRzC2w3%2FT9L4U6B3Z78TFscZw67PxFY%2BuLzLBm2CUQEXMNWEd%2FmbmGgFZdtHGOVmy7nLC1pJzK0eWSS%2Bg%2ByMum%2F2oKRTXKSo%3D"}]} |
| CF-RAY | 9c5bc5ad7c710c5b-AMM |
{"id":209,"firstName":"Rio","lastName":"Brown","maidenName":"","age":23,"gender":"","email":"","phone":"","username":"","password":"","birthDate":"","image":"","bloodGroup":"","height":null,"weight":null,"eyeColor":"","hair":{"color":"","type":""},"ip":"","address":{"address":"","city":"","state":"","stateCode":"","postalCode":"","coordinates":{"lat":null,"lng":null},"country":""},"macAddress":"","university":"","bank":{"cardExpire":"","cardNumber":"","cardType":"","currency":"","iban":""},"company":{"department":"","name":"","title":"","address":{"address":"","city":"","state":"","stateCode":"","postalCode":"","coordinates":{"lat":null,"lng":null},"country":""}},"ein":"","ssn":"","userAgent":"","crypto":{"coin":"","wallet":"","network":""},"role":"user"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 201 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| response Content-Type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body has id key and is number data type | 1 | 0 | 0 |
| returned user contains all request body keys | 1 | 0 | 0 |
| returned user contains all request body values | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Update User
## Overview
This request updates an existing user's information in the system by sending a PATCH request with the modified fields.
## Purpose
This endpoint allows you to modify specific attributes of an existing user without affecting other user data. It's designed for partial updates, making it efficient when you only need to change certain fields like name or age rather than replacing the entire user object.
## Expected Behaviour
When executed successfully, this request will:
- Update only the specified fields (lastName and age) for the user identified by `user_id`
- Return the complete updated user object with all modified fields reflected
- Maintain all other user properties that were not included in the request body
- Respond with a 200 status code indicating successful update
## Request Details
**Method:** `PATCH`
**URL:** `https://dummyjson.com/users/6`
**Headers:**
- Content-Type: application/json
**Request Body Structure:**
```json
{
"lastName": "Ellie",
"age": 30
}
```
The request body accepts a JSON object containing the fields you want to update. In this example:
- `lastName` (string): The user's last name to be updated
- `age` (integer): The user's age to be updated
You can include any valid user fields that need modification.
## Variables Used
This request uses the following variables:
- **`baseUrl`**: The base URL of the API endpoint (e.g., https://dummyjson.com)
- **`user_id`**: The unique identifier of the user to be updated
These variables should be defined in your environment or collection variables.
## Response Details
**Expected Status Code:** `200 OK`
**Response Structure:**
The API returns a complete user object with all the updated fields reflected:
```json
{
"id": 1,
"firstName": "John",
"lastName": "Ellie",
"age": 30,
"email": "user@example.com",
// ... other user properties
}
```
The response will include:
- All fields that were updated (matching the request body values)
- All other user properties that remained unchanged
- Content-Type header set to `application/json`
## Test Validations
This request includes 5 automated test assertions that validate the response:
1. **Status Code Validation**
- Verifies that the response status code is 200
- Ensures the update operation was successful
2. **Response Time Check**
- Confirms the response time is less than 2000ms
- Ensures the API performs within acceptable time limits
3. **Content-Type Validation**
- Checks that the response Content-Type header is `application/json`
- Ensures the response format is correct
4. **Response Body Type Check**
- Validates that the response body is a JSON object
- Ensures proper data structure is returned
5. **Field Update Verification**
- Dynamically validates that all fields sent in the request body are correctly updated in the response
- Compares each key-value pair from the request body with the corresponding values in the response
- Ensures data integrity and confirms the update was applied correctly
| Header Name | Header Value |
|---|---|
| Content-Type | application/json |
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | ed04af36-ac90-4d86-9874-507f1f2e7032 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Content-Length | 43 |
{
"lastName":"Ellie",
"age":30
}
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:12 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 92 |
| x-ratelimit-reset | 1769721617 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"58b-VdgOZJsb+olYSZCa4N0eopc5NYM" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=PNuW24GTVayVqTxG1JzuntoGh5n%2Bh29oLUTrhMcU%2BwxblKegrZGBYA4GBPXyIx8hr%2FWUNuNnlusgRMBSAUiJ0AQtiTAbLkyiNXdhOAqaxxqjhr6YsejBV14%3D"}]} |
| CF-RAY | 9c5bc5aef8910c5b-AMM |
{"id":6,"firstName":"Olivia","lastName":"Ellie","maidenName":"","age":30,"gender":"female","email":"olivia.wilson@x.dummyjson.com","phone":"+91 607-295-6448","username":"oliviaw","password":"oliviawpass","birthDate":"2002-4-20","image":"https://dummyjson.com/icon/oliviaw/128","bloodGroup":"B+","height":182.61,"weight":58,"eyeColor":"Hazel","hair":{"color":"Gray","type":"Curly"},"ip":"249.178.112.207","address":{"address":"547 First Street","city":"Fort Worth","state":"Tennessee","stateCode":"TN","postalCode":"83843","coordinates":{"lat":75.32627,"lng":-26.15285},"country":"United States"},"macAddress":"9c:7f:ea:34:18:19","university":"University of North Carolina--Chapel Hill","bank":{"cardExpire":"06/30","cardNumber":"376320072452632","cardType":"American Express","currency":"NZD","iban":"DE21153814367894194071"},"company":{"department":"Product Management","name":"Pfannerstill Inc","title":"Research Analyst","address":{"address":"425 Sixth Street","city":"Indianapolis","state":"Oklahoma","stateCode":"OK","postalCode":"74263","coordinates":{"lat":74.986644,"lng":-132.916888},"country":"United States"}},"ein":"921-709","ssn":"836-772-168","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| edited fields are updated | 1 | 0 | 0 |
| Total | 5 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Delete User
## Overview
This request deletes a user from the system by sending a DELETE request to the users endpoint with a specific user ID.
## Purpose
This endpoint exists to permanently remove user accounts from the system. It solves the need for user account management, allowing administrators or authorized users to delete user records when they are no longer needed, when users request account deletion, or for data cleanup purposes.
## Expected Behaviour
When this request is executed successfully:
- The system locates the user by the provided `user_id`
- The user account is marked as deleted in the database
- A confirmation response is returned with deletion status and timestamp
- The response includes a boolean flag confirming deletion and the exact time of deletion
- All validations pass confirming the deletion was successful
## Request Details
**Method:** `DELETE`
**URL:** `https://dummyjson.com/users/6`
**Headers:** Standard headers are applied automatically
**Request Body:** This request does not require a request body
## Variables Used
| Variable | Description |
|----------|-------------|
| `baseUrl` | The base URL of the API endpoint |
| `user_id` | The unique identifier of the user to be deleted |
## Response Details
The API returns a JSON object with the following structure:
**Response Fields:**
| Field | Type | Description |
|-------|------|-------------|
| `isDeleted` | boolean | Indicates whether the user was successfully deleted (should be `true`) |
| `deletedOn` | string | Timestamp indicating when the user was deleted |
**Example Response:**
```json
{
"isDeleted": true,
"deletedOn": "2024-01-15T10:30:00.000Z"
}
```
## Test Validations
This request includes 7 automated test assertions to validate the response:
1. **Status Code Validation** - Verifies that the response status code is 200 (OK)
2. **Response Time Check** - Ensures the response time is less than 2000ms for performance monitoring
3. **Content-Type Validation** - Confirms the response Content-Type header is `application/json`
4. **Response Structure Check** - Validates that the response body is a valid JSON object
5. **isDeleted Property Validation** - Verifies that the response contains an `isDeleted` property with boolean data type
6. **deletedOn Property Validation** - Verifies that the response contains a `deletedOn` property with string data type
7. **Deletion Confirmation** - Confirms that the `isDeleted` field is `true`, indicating successful user deletion
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 9a0c7fe8-0871-4fd4-a0da-9728ad1d6a93 |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:13 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 98 |
| x-ratelimit-reset | 1769721621 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"5c4-XVvIVLnLtkxUsiLKoWAHlFpbU1c" |
| vary | Accept-Encoding |
| Content-Encoding | br |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=yGf5Z6%2Bc3b%2FdIO2xPIzzYndHAyjxjipSouK42dB6ri3paDodCftfJXf%2B1jDuOFIuf8vPERGKzssVIm1cYgM7eDhUEu86aNC9uE71ZyHzqzvjGtxGtmZHlg4%3D"}]} |
| CF-RAY | 9c5bc5b0bd130c5b-AMM |
{"id":6,"firstName":"Olivia","lastName":"Wilson","maidenName":"","age":23,"gender":"female","email":"olivia.wilson@x.dummyjson.com","phone":"+91 607-295-6448","username":"oliviaw","password":"oliviawpass","birthDate":"2002-4-20","image":"https://dummyjson.com/icon/oliviaw/128","bloodGroup":"B+","height":182.61,"weight":58,"eyeColor":"Hazel","hair":{"color":"Gray","type":"Curly"},"ip":"249.178.112.207","address":{"address":"547 First Street","city":"Fort Worth","state":"Tennessee","stateCode":"TN","postalCode":"83843","coordinates":{"lat":75.32627,"lng":-26.15285},"country":"United States"},"macAddress":"9c:7f:ea:34:18:19","university":"University of North Carolina--Chapel Hill","bank":{"cardExpire":"06/30","cardNumber":"376320072452632","cardType":"American Express","currency":"NZD","iban":"DE21153814367894194071"},"company":{"department":"Product Management","name":"Pfannerstill Inc","title":"Research Analyst","address":{"address":"425 Sixth Street","city":"Indianapolis","state":"Oklahoma","stateCode":"OK","postalCode":"74263","coordinates":{"lat":74.986644,"lng":-132.916888},"country":"United States"}},"ein":"921-709","ssn":"836-772-168","userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.3 Safari/605.1.15","crypto":{"coin":"Bitcoin","wallet":"0xb9fc2fe63b2a6c003f1c324c3bfa53259162181a","network":"Ethereum (ERC20)"},"role":"moderator","isDeleted":true,"deletedOn":"2026-01-29T21:20:12.991Z"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 200 | 1 | 0 | 0 |
| Response time is less than 2000ms | 1 | 0 | 0 |
| Response Content-type is application/json | 1 | 0 | 0 |
| response body is json object | 1 | 0 | 0 |
| response body has is deleted property with correct data type | 1 | 0 | 0 |
| response body has deleted on property with correct data type | 1 | 0 | 0 |
| user is deleted | 1 | 0 | 0 |
| Total | 7 | 0 | 0 |
| Test Name | Assertion Error |
|---|
# Negative: Get User with Invalid ID
## Overview
This is a negative test case designed to verify the API's error handling when attempting to retrieve a user with an invalid user ID. The request tests how the system responds to malformed or non-existent user identifiers.
## Purpose
This request exists to validate that the API properly handles error scenarios and returns appropriate error responses when invalid data is provided. It ensures that:
- The API returns the correct HTTP status code for invalid requests
- Error messages are properly formatted and informative
- The system gracefully handles edge cases without crashing
## Expected Behaviour
When this request is executed with an invalid user ID, the API should:
- Return a **404 Not Found** status code
- Provide a JSON response containing an error message
- Include a descriptive message indicating that the user was not found
- Handle the error gracefully without exposing sensitive system information
## Request Details
- **Method**: `GET`
- **URL**: `https://dummyjson.com/users/99999999`
- **Headers**: Standard headers (if any are set at collection/folder level)
- **Request Body**: None (GET requests do not have a request body)
## Variables Used
This request uses the following variables:
- **`baseUrl`**: The base URL of the API endpoint (e.g., `https://dummyjson.com`)
- **`invalid_id`**: An invalid user ID value used to trigger the error response (e.g., a non-existent ID, malformed string, or negative number)
## Response Details
The expected error response structure when an invalid user ID is provided:
**Status Code**: `404 Not Found`
**Response Body** (JSON):
```json
{
"message": "User not found"
}
```
The response should contain:
- A `message` field with a descriptive error message
- The message text should include "not found" (case-insensitive)
## Test Validations
This request includes three automated test assertions in the post-response script:
1. **Status Code Validation**: Verifies that the response status code is `404`
- Ensures the API returns the correct HTTP status for invalid user IDs
2. **Error Message Property Check**: Confirms that the response body contains a `message` property
- Validates that the error response follows the expected structure
3. **Error Message Content Validation**: Checks that the error message includes "not found" text
- Ensures the error message is descriptive and indicates the user was not found
| Header Name | Header Value |
|---|---|
| User-Agent | PostmanRuntime/7.39.1 |
| Accept | */* |
| Cache-Control | no-cache |
| Postman-Token | 403f6d21-a609-431d-9fa5-6663192532ff |
| Host | dummyjson.com |
| Accept-Encoding | gzip, deflate, br |
| Connection | keep-alive |
| Header Name | Header Value |
|---|---|
| Date | Thu, 29 Jan 2026 21:20:13 GMT |
| Content-Type | application/json; charset=utf-8 |
| Transfer-Encoding | chunked |
| Connection | keep-alive |
| Server | cloudflare |
| x-ratelimit-limit | 100 |
| x-ratelimit-remaining | 97 |
| x-ratelimit-reset | 1769721621 |
| x-dns-prefetch-control | off |
| x-frame-options | SAMEORIGIN |
| strict-transport-security | max-age=15552000; includeSubDomains |
| x-download-options | noopen |
| x-content-type-options | nosniff |
| x-xss-protection | 1; mode=block |
| access-control-allow-origin | * |
| etag | W/"2f-toGsrVi0XdPkGLD1S0/ZZF22Ihs" |
| vary | Accept-Encoding |
| cf-cache-status | DYNAMIC |
| Nel | {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800} |
| Report-To | {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=lMSH%2FG4AHEyIUNF9jXXd5y39YnGUu4gGh%2FTd2PDzLlbm2pWO9c3LiRsbKTLTNPXCpLUMXErKumrqtAJNve9BVjfVD%2BoYhoQTVRAskQjO0zpUBQahyuMNtbI%3D"}]} |
| Content-Encoding | br |
| CF-RAY | 9c5bc5b2baa60c5b-AMM |
{"message":"User with id '99999999' not found"}
| Name | Passed | Failed | Skipped |
|---|---|---|---|
| Status code is 404 | 1 | 0 | 0 |
| response body contains error message | 1 | 0 | 0 |
| response body contains proper error message | 1 | 0 | 0 |
| Total | 3 | 0 | 0 |
| Test Name | Assertion Error |
|---|